Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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()
203 {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.cpp858 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h48 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 DParseCXXInlineMethods.cpp560 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 DParseTemplate.cpp1773 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 DParser.cpp1349 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 DParseOpenMP.cpp374 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 DParseObjc.cpp3737 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
H A DParseExpr.cpp3687 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1520 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParsePragma.cpp941 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2277 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()