Searched refs:FnScope (Results 1 – 15 of 15) sorted by relevance
/openbsd/gnu/llvm/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() 201 {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 | 851 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | Scope.h | 48 FnScope = 0x01, enumerator 384 bool isFunctionScope() const { return getFlags() & Scope::FnScope; } in isFunctionScope() 458 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
|
/openbsd/gnu/llvm/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() 745 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
H A D | ParseTemplate.cpp | 1741 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef() local 1750 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef() 1764 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
|
H A D | Parser.cpp | 1305 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1336 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1355 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
|
H A D | ParseOpenMP.cpp | 373 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 408 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 590 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 690 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2500 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective()
|
H A D | ParseExpr.cpp | 3567 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
H A D | ParseExprCXX.cpp | 1512 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
H A D | ParseObjc.cpp | 3724 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
H A D | ParsePragma.cpp | 842 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.cpp | 2240 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local 2241 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl() 2296 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl() 2300 SkelCU->constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
|
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 3027 const Function *FnScope = IRP.getAnchorScope(); 3035 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope)))
|
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 4859 Function *FnScope = IRP.getAnchorScope(); in initialize() local 4860 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope))) { in initialize()
|