Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DScope.cpp24 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 DSemaStmtAttr.cpp37 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local
38 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
49 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
H A DSemaExprCXX.cpp848 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScope.h47 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 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()
740 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
H A DParseTemplate.cpp1722 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 DParser.cpp1272 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 DParseOpenMP.cpp372 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 DParseExpr.cpp3533 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1459 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseObjc.cpp3679 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
H A DParsePragma.cpp836 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2204 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 DAttributor.h2850 const Function *FnScope = IRP.getAnchorScope();
2858 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope)))
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp4151 Function *FnScope = IRP.getAnchorScope(); in initialize() local
4152 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope))) { in initialize()