| /freebsd-13.1/contrib/llvm-project/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 | 776 while (S && !(S->getFlags() & Scope::FnScope)) { in isWithinCatchScope()
|
| H A D | SemaExprCXX.cpp | 844 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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 | 1230 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1261 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1280 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 2129 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() 2287 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective()
|
| H A D | ParseExpr.cpp | 3486 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
| H A D | ParseObjc.cpp | 3670 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParseExprCXX.cpp | 1458 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParsePragma.cpp | 747 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| H A D | ParseDeclCXX.cpp | 3332 if ((S->getFlags() & Scope::FnScope)) in ParseCXXMemberSpecification()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 1272 const Function *FnScope = IRP.getAnchorScope(); 1273 if (FnScope) 1274 Invalidate |= FnScope->hasFnAttribute(Attribute::Naked) || 1275 FnScope->hasFnAttribute(Attribute::OptimizeNone); 1299 if (FnScope && !Functions.count(const_cast<Function *>(FnScope))) { 1300 if (!getInfoCache().isInModuleSlice(*FnScope)) { 2555 const Function *FnScope = IRP.getAnchorScope(); 2563 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope)))
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 2182 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local 2183 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl() 2238 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl() 2242 SkelCU->constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 4040 Function *FnScope = IRP.getAnchorScope(); in initialize() local 4041 if (IsFnInterface && (!FnScope || !A.isFunctionIPOAmendable(*FnScope))) { in initialize()
|