Home
last modified time | relevance | path

Searched refs:ParseScope (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/Parse/
DParseStmt.cpp484 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock()
536 ParseScope FinallyScope(this, 0); in ParseSEHFinallyBlock()
863 ParseScope CompoundScope(this, ScopeFlags); in ParseCompoundStatement()
1141 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement()
1173 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement()
1211 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement()
1282 ParseScope SwitchScope(this, ScopeFlags); in ParseSwitchStatement()
1319 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement()
1371 ParseScope WhileScope(this, ScopeFlags); in ParseWhileStatement()
1390 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement()
[all …]
DParseCXXInlineMethods.cpp276 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, in ParseLexedMethodDeclarations()
287 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations()
304 ParseScope TemplateScope(this, Scope::TemplateParamScope, LM.TemplateScope); in ParseLexedMethodDeclaration()
315 ParseScope PrototypeScope(this, Scope::FunctionPrototypeScope | in ParseLexedMethodDeclaration()
479 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, HasTemplateScope); in ParseLexedMethodDefs()
486 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs()
496 ParseScope TemplateScope(this, Scope::TemplateParamScope, LM.TemplateScope); in ParseLexedMethodDef()
523 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef()
584 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, in ParseLexedMemberInitializers()
594 ParseScope ClassScope(this, ScopeFlags, !AlreadyHasClassScope); in ParseLexedMemberInitializers()
DParseTemplate.cpp69 ParseScope TemplateParmScope(this, Scope::TemplateParamScope); in ParseTemplateDeclarationOrSpecialization()
573 ParseScope TemplateParmScope(this, Scope::TemplateParamScope); in ParseTemplateTemplateParameter()
1344 SmallVector<ParseScope*, 4> TemplateParamScopeStack; in ParseLateTemplatedFuncDef()
1358 TemplateParamScopeStack.push_back(new ParseScope(this, in ParseLateTemplatedFuncDef()
1364 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()
1383 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
1414 SmallVectorImpl<ParseScope *>::reverse_iterator I = in ParseLateTemplatedFuncDef()
DParseOpenMP.cpp290 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
325 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective()
366 Parser::ParseScope *TempScope;
367 Parser::ParseScope *FnScope;
388 new Parser::ParseScope(&P, Scope::TemplateParamScope, HasTemplateScope); in FNContextRAII()
394 FnScope = new Parser::ParseScope(&P, Scope::FnScope | Scope::DeclScope, in FNContextRAII()
911 ParseScope OMPDirectiveScope(this, ScopeFlags); in ParseOpenMPDeclarativeOrExecutableDirective()
DParseObjc.cpp1412 ParseScope PrototypeScope(this, Scope::FunctionPrototypeScope | in ParseObjCMethodDecl()
1927 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables()
2507 ParseScope bodyScope(this, Scope::DeclScope); in ParseObjCSynchronizedStmt()
2543 ParseScope TryScope(this, Scope::DeclScope); in ParseObjCTryStmt()
2564 ParseScope CatchScope(this, Scope::DeclScope|Scope::AtCatchScope); in ParseObjCTryStmt()
2608 ParseScope FinallyScope(this, Scope::DeclScope); in ParseObjCTryStmt()
2645 ParseScope BodyScope(this, Scope::DeclScope); in ParseObjCAutoreleasePoolStmt()
3643 ParseScope BodyScope(this, in ParseLexedObjCMethodDefs()
DParser.cpp1038 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1068 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1086 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1206 ParseScope PrototypeScope(this, Scope::FunctionPrototypeScope | in ParseKNRParamDeclarations()
DParseDecl.cpp369 std::unique_ptr<ParseScope> PrototypeScope; in ParseGNUAttributeArgs()
373 PrototypeScope.reset(new ParseScope(this, Scope::FunctionPrototypeScope | in ParseGNUAttributeArgs()
1162 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, in ParseLexedAttributes()
1170 ParseScope ClassScope(this, ScopeFlags, !AlreadyHasClassScope); in ParseLexedAttributes()
1240 ParseScope TempScope(this, Scope::TemplateParamScope, HasTemplateScope); in ParseLexedAttribute()
1246 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute()
3673 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody()
4165 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody()
5409 ParseScope PrototypeScope(this, in ParseDirectDeclarator()
5542 ParseScope PrototypeScope(this, in ParseParenDeclarator()
DParseDeclCXX.cpp182 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace()
234 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace()
303 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage()
2812 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification()
2983 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
DParseExprCXX.cpp1131 ParseScope PrototypeScope(this, in ParseLambdaExpressionAfterIntroducer()
1305 ParseScope BodyScope(this, ScopeFlags); in ParseLambdaExpressionAfterIntroducer()
DParsePragma.cpp442 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
DParseExpr.cpp2774 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression()
/external/clang/include/clang/Parse/
DParser.h790 class ParseScope {
792 ParseScope(const ParseScope &) = delete;
793 void operator=(const ParseScope &) = delete;
799 ParseScope(Parser *Self, unsigned ScopeFlags, bool EnteredScope = true,
821 ~ParseScope() { in ~ParseScope()
1847 Decl *ParseFunctionStatementBody(Decl *Decl, ParseScope &BodyScope);
1848 Decl *ParseFunctionTryBlock(Decl *Decl, ParseScope &BodyScope);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h284 bool ParseScope(SyncScope::ID &SSID);
DLLParser.cpp2124 return ParseScope(SSID) || ParseOrdering(Ordering); in ParseScopeAndOrdering()
2131 bool LLParser::ParseScope(SyncScope::ID &SSID) { in ParseScope() function in LLParser