| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | Scope.cpp | 25 if (parent && !(flags & FnScope)) { in setFlags() 43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags() 58 if (flags & FnScope) FnParent = this; in setFlags() 61 if (Flags & (ClassScope | FnScope)) { in setFlags() 147 {FnScope, "FnScope"}, in dumpImpl()
|
| H A D | SemaStmtAttr.cpp | 39 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local 40 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr() 51 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
|
| H A D | SemaExprCXX.cpp | 738 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Scope.h | 48 FnScope = 0x01, enumerator 335 bool isFunctionScope() const { return (getFlags() & Scope::FnScope); } in isFunctionScope() 396 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 516 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() local 521 ParseFunctionTryBlock(LM.D, FnScope); in ParseLexedMethodDef() 535 FnScope.Exit(); in ParseLexedMethodDef() 555 ParseFunctionStatementBody(LM.D, FnScope); in ParseLexedMethodDef()
|
| H A D | ParseTemplate.cpp | 1432 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef() local 1442 ParseFunctionTryBlock(LPT.D, FnScope); in ParseLateTemplatedFuncDef() 1456 ParseFunctionStatementBody(LPT.D, FnScope); in ParseLateTemplatedFuncDef() 1463 FnScope.Exit(); in ParseLateTemplatedFuncDef()
|
| H A D | ParseOpenMP.cpp | 310 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 346 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 483 Parser::ParseScope *FnScope; member in __anonbf7bccdd0411::FNContextRAII 510 FnScope = new Parser::ParseScope( in FNContextRAII() 511 &P, Scope::FnScope | Scope::DeclScope | Scope::CompoundStmtScope, in FNContextRAII() 519 FnScope->Exit(); // Pop scope, and remove Decls from IdResolver in ~FNContextRAII() 523 delete FnScope; in ~FNContextRAII() 986 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective()
|
| H A D | Parser.cpp | 1108 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1139 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1158 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1926 if (S->getFlags() & Scope::FnScope) { in handleUnexpectedCodeCompletionToken()
|
| H A D | ParseDecl.cpp | 1441 ParseScope FnScope( in ParseLexedAttribute() local 1442 this, Scope::FnScope | Scope::DeclScope | Scope::CompoundStmtScope, in ParseLexedAttribute() 1453 FnScope.Exit(); // Pop scope, and remove Decls from IdResolver in ParseLexedAttribute()
|
| H A D | ParseExprCXX.cpp | 1287 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParseExpr.cpp | 2966 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
|
| H A D | ParseObjc.cpp | 3643 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParsePragma.cpp | 657 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| H A D | ParseDeclCXX.cpp | 3136 if ((S->getFlags() & Scope::FnScope)) in ParseCXXMemberSpecification()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 1573 LexicalScope *FnScope = LScopes.getCurrentFunctionScope(); in endFunctionImpl() local 1574 assert(!FnScope || SP == FnScope->getScopeNode()); in endFunctionImpl() 1627 DIE &ScopeDIE = TheCU.constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl() 1631 SkelCU->constructSubprogramScopeDIE(SP, FnScope); in endFunctionImpl()
|