| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | Scope.cpp | 24 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() 146 {FnScope, "FnScope"}, in dumpImpl()
|
| H A D | SemaStmtAttr.cpp | 37 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local 38 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr() 49 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
|
| H A D | SemaCoroutine.cpp | 796 while (S && !(S->getFlags() & Scope::FnScope)) { in isWithinCatchScope()
|
| H A D | SemaExprCXX.cpp | 824 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Scope.h | 47 FnScope = 0x01, enumerator 367 bool isFunctionScope() const { return (getFlags() & Scope::FnScope); } in isFunctionScope() 434 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 542 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() local 547 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef() 561 FnScope.Exit(); in ParseLexedMethodDef() 581 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef() 726 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
| H A D | ParseTemplate.cpp | 1675 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef() local 1684 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef() 1698 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef()
|
| H A D | Parser.cpp | 1227 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1258 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1277 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 2126 if (S->getFlags() & Scope::FnScope) { in handleUnexpectedCodeCompletionToken()
|
| H A D | ParseOpenMP.cpp | 361 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 396 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 582 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 682 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2284 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective()
|
| H A D | ParseExpr.cpp | 3456 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
| H A D | ParseExprCXX.cpp | 1458 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParseObjc.cpp | 3670 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParseDeclCXX.cpp | 3264 if ((S->getFlags() & Scope::FnScope)) in ParseCXXMemberSpecification()
|
| H A D | ParsePragma.cpp | 747 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 1151 const Function *FnScope = IRP.getAnchorScope(); 1152 if (FnScope) 1153 Invalidate |= FnScope->hasFnAttribute(Attribute::Naked) || 1154 FnScope->hasFnAttribute(Attribute::OptimizeNone); 1178 if (FnScope && !Functions.count(const_cast<Function *>(FnScope))) { 1179 if (!getInfoCache().isInModuleSlice(*FnScope)) { 2245 const Function *FnScope = IRP.getAnchorScope(); 2253 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope)))
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 2132 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local 2133 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl() 2188 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl() 2192 SkelCU->constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 3503 Function *FnScope = IRP.getAnchorScope(); in initialize() local 3504 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope))) { in initialize()
|