Searched refs:DeclScope (Results 1 – 16 of 16) sorted by relevance
363 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope); in ParseSEHExceptBlock()632 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); in ParseCompoundStatement()887 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement()915 ParseScope InnerScope(this, Scope::DeclScope, in ParseIfStatement()948 ParseScope InnerScope(this, Scope::DeclScope, in ParseIfStatement()1020 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement()1056 ParseScope InnerScope(this, Scope::DeclScope, in ParseSwitchStatement()1110 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement()1134 ParseScope InnerScope(this, Scope::DeclScope, in ParseWhileStatement()1162 ScopeFlags = Scope::BreakScope | Scope::ContinueScope | Scope::DeclScope; in ParseDoStatement()[all …]
272 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations()297 Scope::FunctionPrototypeScope|Scope::DeclScope); in ParseLexedMethodDeclaration()370 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs()400 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef()455 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
1031 Scope::FunctionPrototypeScope|Scope::DeclScope); in ParseObjCMethodDecl()1253 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables()1775 ParseScope bodyScope(this, Scope::DeclScope); in ParseObjCSynchronizedStmt()1811 ParseScope TryScope(this, Scope::DeclScope); in ParseObjCTryStmt()1832 ParseScope CatchScope(this, Scope::DeclScope|Scope::AtCatchScope); in ParseObjCTryStmt()1876 ParseScope FinallyScope(this, Scope::DeclScope); in ParseObjCTryStmt()1913 ParseScope BodyScope(this, Scope::DeclScope); in ParseObjCAutoreleasePoolStmt()2887 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs()2888 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
466 EnterScope(Scope::DeclScope); in Initialize()977 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()1010 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()1027 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()1114 ParseScope PrototypeScope(this, Scope::FunctionPrototypeScope|Scope::DeclScope); in ParseKNRParamDeclarations()
1293 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()1315 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
157 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace()204 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace()282 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage()2275 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
845 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes()922 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute()2925 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody()3379 ParseScope EnumScope(this, Scope::DeclScope); in ParseEnumBody()4384 Scope::FunctionPrototypeScope|Scope::DeclScope); in ParseDirectDeclarator()4517 Scope::FunctionPrototypeScope|Scope::DeclScope); in ParseParenDeclarator()
757 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer()880 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
2428 Scope::DeclScope); in ParseBlockLiteralExpression()
49 DeclScope = 0x08, enumerator
941 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
5747 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective()5836 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration()6529 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration()10328 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
1347 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope()1450 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope()3602 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator()8599 ((S->getFlags() & Scope::DeclScope) == 0) || in ActOnTag()
4885 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()6636 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
1120 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
3274 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()