Searched refs:FnScope (Results 1 – 13 of 13) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Scope.cpp | 24 if (parent && !(flags & FnScope)) { in setFlags() 42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags() 60 if (flags & FnScope) FnParent = this; in setFlags() 63 if (Flags & (ClassScope | FnScope)) { in setFlags() 203 {FnScope, "FnScope"}, in dumpImpl()
|
| H A D | SemaStmtAttr.cpp | 38 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local 39 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr() 50 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
|
| H A D | SemaExprCXX.cpp | 858 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 48 FnScope = 0x01, enumerator 389 bool isFunctionScope() const { return getFlags() & Scope::FnScope; } in isFunctionScope() 463 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 560 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() local 565 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef() 579 FnScope.Exit(); in ParseLexedMethodDef() 599 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef() 748 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
| H A D | ParseTemplate.cpp | 1773 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef() local 1782 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef() 1796 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
|
| H A D | Parser.cpp | 1349 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1380 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1399 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
|
| H A D | ParseOpenMP.cpp | 374 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 409 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 591 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 691 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2502 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective()
|
| H A D | ParseObjc.cpp | 3737 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParseExpr.cpp | 3687 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
| H A D | ParseExprCXX.cpp | 1520 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParsePragma.cpp | 941 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 2277 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()
|