Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp24 if (parent && !(flags & FnScope)) { in setFlags()
43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
62 if (flags & FnScope) FnParent = this; in setFlags()
65 if (Flags & (ClassScope | FnScope)) { in setFlags()
206 {FnScope, "FnScope"}, in dumpImpl()
H A DSemaStmtAttr.cpp35 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local
36 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
47 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
H A DSemaExprCXX.cpp837 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h51 FnScope = 0x01, enumerator
413 bool isFunctionScope() const { return getFlags() & Scope::FnScope; } in isFunctionScope()
498 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
572 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope |
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp513 ParseScope FnScope(this, Scope::FnScope); in ParseLexedMethodDeclaration() local
600 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() local
620 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef()
628 FnScope.Exit(); in ParseLexedMethodDef()
642 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef()
768 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
H A DParseTemplate.cpp1448 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef() local
1457 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
1471 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
H A DParser.cpp1278 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
1309 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
1328 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition()
H A DParseOpenMP.cpp249 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
285 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
464 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective()
638 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII()
2287 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPExecutableDirective()
2447 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPInformationalDirective()
H A DParseObjc.cpp3299 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
H A DParseExprCXX.cpp1467 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseExpr.cpp3268 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
H A DParseDecl.cpp5694 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseTopLevelStmtDecl() local
H A DParsePragma.cpp937 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2712 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local
2713 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl()
2773 TheCU.constructSubprogramScopeDIE(SP, FnScope, FunctionLineTableLabel); in endFunctionImpl()
2777 SkelCU->constructSubprogramScopeDIE(SP, FnScope, FunctionLineTableLabel); in endFunctionImpl()