| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | Scope.cpp | 24 if (parent && !(flags & FnScope)) { in setFlags() 42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags() 57 if (flags & FnScope) FnParent = this; in setFlags() 60 if (Flags & (ClassScope | FnScope)) { in setFlags() 198 {FnScope, "FnScope"}, in dumpImpl()
|
| H A D | SemaStmtAttr.cpp | 37 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local 38 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr() 49 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
|
| H A D | SemaExprCXX.cpp | 848 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Scope.h | 47 FnScope = 0x01, enumerator 381 bool isFunctionScope() const { return getFlags() & Scope::FnScope; } in isFunctionScope() 455 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 557 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() local 562 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef() 576 FnScope.Exit(); in ParseLexedMethodDef() 596 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef() 740 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
| H A D | ParseTemplate.cpp | 1722 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef() local 1731 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef() 1745 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
|
| H A D | Parser.cpp | 1272 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1303 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1322 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
|
| H A D | ParseOpenMP.cpp | 372 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 407 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 593 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 693 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2488 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective()
|
| H A D | ParseExpr.cpp | 3533 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
| H A D | ParseExprCXX.cpp | 1459 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParseObjc.cpp | 3679 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParsePragma.cpp | 836 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 2204 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local 2205 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl() 2260 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl() 2264 SkelCU->constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 2850 const Function *FnScope = IRP.getAnchorScope(); 2858 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope)))
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 4151 Function *FnScope = IRP.getAnchorScope(); in initialize() local 4152 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope))) { in initialize()
|