Searched refs:FnScope (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Scope.cpp | 24 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 D | SemaStmtAttr.cpp | 35 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local 36 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr() 47 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
|
| H A D | SemaExprCXX.cpp | 837 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 51 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 D | ParseCXXInlineMethods.cpp | 513 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 D | ParseTemplate.cpp | 1448 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 D | Parser.cpp | 1278 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 D | ParseOpenMP.cpp | 249 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 D | ParseObjc.cpp | 3299 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParseExprCXX.cpp | 1467 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParseExpr.cpp | 3268 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
| H A D | ParseDecl.cpp | 5694 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseTopLevelStmtDecl() local
|
| H A D | ParsePragma.cpp | 937 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 2712 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()
|