Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DScope.cpp25 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 DSemaStmtAttr.cpp39 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr() local
40 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
51 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
H A DSemaExprCXX.cpp738 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DScope.h48 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 DParseCXXInlineMethods.cpp516 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 DParseTemplate.cpp1432 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 DParseOpenMP.cpp310 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 DParser.cpp1108 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 DParseDecl.cpp1441 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 DParseExprCXX.cpp1287 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseExpr.cpp2966 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
H A DParseObjc.cpp3643 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
H A DParsePragma.cpp657 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
H A DParseDeclCXX.cpp3136 if ((S->getFlags() & Scope::FnScope)) in ParseCXXMemberSpecification()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1573 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()