Home
last modified time | relevance | path

Searched refs:FnScope (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp24 if (parent && !(flags & FnScope)) { in setFlags()
43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
62 if (flags & FnScope) FnParent = this; in setFlags()
65 if (Flags & (ClassScope | FnScope)) { in setFlags()
206 {FnScope, "FnScope"}, in dumpImpl()
H A DSemaStmtAttr.cpp39 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local
40 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
51 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
H A DSemaExprCXX.cpp850 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h51 FnScope = 0x01, enumerator
408 bool isFunctionScope() const { return getFlags() & Scope::FnScope; } in isFunctionScope()
482 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
552 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope |
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp531 ParseScope FnScope(this, Scope::FnScope); in ParseLexedMethodDeclaration() local
621 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() local
628 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef()
642 FnScope.Exit(); in ParseLexedMethodDef()
662 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef()
811 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
H A DParseTemplate.cpp1659 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef() local
1668 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1682 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
H A DParser.cpp1354 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
1385 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
1404 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
H A DParseOpenMP.cpp378 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
414 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
598 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective()
701 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII()
2428 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPExecutableDirective()
H A DParseExpr.cpp3788 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1608 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseObjc.cpp3736 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
H A DParseDecl.cpp5968 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseTopLevelStmtDecl() local
H A DParsePragma.cpp949 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2277 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local
2278 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl()
2337 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
2341 SkelCU->constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()