Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Sema/
H A DScope.cpp24 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 DSemaStmtAttr.cpp38 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local
39 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
50 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
H A DSemaExprCXX.cpp851 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DScope.h48 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 DParseCXXInlineMethods.cpp557 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 DParseTemplate.cpp1741 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 DParser.cpp1305 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 DParseOpenMP.cpp373 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 DParseExpr.cpp3567 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1512 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseObjc.cpp3724 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
H A DParsePragma.cpp842 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2240 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 DAttributor.h3027 const Function *FnScope = IRP.getAnchorScope();
3035 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope)))
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp4859 Function *FnScope = IRP.getAnchorScope(); in initialize() local
4860 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope))) { in initialize()