Home
last modified time | relevance | path

Searched refs:BodyScope (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp1272 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() local
1284 BodyScope.Exit(); in ParseFunctionDefinition()
1303 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() local
1322 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() local
1402 BodyScope.Exit(); in ParseFunctionDefinition()
1408 return ParseFunctionTryBlock(Res, BodyScope); in ParseFunctionDefinition()
1417 BodyScope.Exit(); in ParseFunctionDefinition()
1428 return ParseFunctionStatementBody(Res, BodyScope); in ParseFunctionDefinition()
H A DParseStmt.cpp2412 Decl *Parser::ParseFunctionStatementBody(Decl *Decl, ParseScope &BodyScope) { in ParseFunctionStatementBody() argument
2436 BodyScope.Exit(); in ParseFunctionStatementBody()
2445 Decl *Parser::ParseFunctionTryBlock(Decl *Decl, ParseScope &BodyScope) { in ParseFunctionTryBlock() argument
2473 BodyScope.Exit(); in ParseFunctionTryBlock()
H A DParseObjc.cpp2641 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() local
2645 BodyScope.Exit(); in ParseObjCAutoreleasePoolStmt()
3678 ParseScope BodyScope(this, (parseMethod ? Scope::ObjCMethodScope : 0) | in ParseLexedObjCMethodDefs() local
3689 ParseFunctionTryBlock(MCDecl, BodyScope); in ParseLexedObjCMethodDefs()
3695 ParseFunctionStatementBody(MCDecl, BodyScope); in ParseLexedObjCMethodDefs()
H A DParseExprCXX.cpp1461 ParseScope BodyScope(this, ScopeFlags); in ParseLambdaExpressionAfterIntroducer() local
1473 BodyScope.Exit(); in ParseLambdaExpressionAfterIntroducer()
3449 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression() local
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp927 RunCleanupsScope BodyScope(*this); in EmitWhileStmt() local
968 RunCleanupsScope BodyScope(*this); in EmitDoStmt() local
1106 RunCleanupsScope BodyScope(*this); in EmitForStmt() local
1191 LexicalScope BodyScope(*this, S.getSourceRange()); in EmitCXXForRangeStmt() local
H A DCGStmtOpenMP.cpp1875 RunCleanupsScope BodyScope(*this); in EmitOMPLoopBody() local
2058 RunCleanupsScope BodyScope(*this); in EmitOMPCanonicalLoop() local
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGParser.cpp2988 TGLocalVarScope *BodyScope = PushLocalScope(); in ParseBody() local
2994 PopLocalScope(BodyScope); in ParseBody()
3318 TGLocalVarScope *BodyScope = PushLocalScope(); in ParseIfBody() local
3339 PopLocalScope(BodyScope); in ParseIfBody()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h2352 Decl *ParseFunctionStatementBody(Decl *Decl, ParseScope &BodyScope);
2353 Decl *ParseFunctionTryBlock(Decl *Decl, ParseScope &BodyScope);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprCXX.cpp9070 Scope *BodyScope) { in ActOnStartRequiresExpr() argument
9071 assert(BodyScope); in ActOnStartRequiresExpr()
9076 PushDeclContext(BodyScope, Body); in ActOnStartRequiresExpr()
9090 CheckShadow(BodyScope, Param); in ActOnStartRequiresExpr()
9091 PushOnScopeChains(Param, BodyScope); in ActOnStartRequiresExpr()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h8277 Scope *BodyScope);