/external/clang/lib/Sema/ |
D | Scope.cpp | 74 if (flags & DeclScope) { in setFlags() 79 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 156 } else if (Flags & DeclScope) { in dumpImpl() 158 Flags &= ~DeclScope; in dumpImpl()
|
D | Sema.cpp | 1110 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
D | SemaDeclCXX.cpp | 7717 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 7811 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 8752 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 12950 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
D | SemaDecl.cpp | 1637 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 1737 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 4935 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 12241 ((S->getFlags() & Scope::DeclScope) == 0) || in getTagInjectionScope()
|
D | SemaTemplate.cpp | 5809 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 7743 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
D | SemaLookup.cpp | 1707 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
D | SemaCodeComplete.cpp | 3469 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
D | SemaExpr.cpp | 10104 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 446 Scope::DeclScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 484 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 832 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); 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() 1281 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1319 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1368 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1390 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
D | ParseCXXInlineMethods.cpp | 287 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() 316 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration() 486 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() 523 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() 593 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
|
D | ParseObjc.cpp | 1413 Scope::FunctionDeclarationScope | Scope::DeclScope); 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() 3645 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs() 3646 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
|
D | Parser.cpp | 455 EnterScope(Scope::DeclScope); in Initialize() 1038 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() 1207 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
D | ParseOpenMP.cpp | 290 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 325 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 394 FnScope = new Parser::ParseScope(&P, Scope::FnScope | Scope::DeclScope, in FNContextRAII() 788 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
|
D | ParseTemplate.cpp | 1364 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef() 1383 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
|
D | ParseDeclCXX.cpp | 182 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()
|
D | ParseDecl.cpp | 375 Scope::DeclScope)); in ParseGNUAttributeArgs() 1169 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes() 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() 5410 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 5543 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
D | ParseExprCXX.cpp | 1134 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1304 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
|
D | ParsePragma.cpp | 442 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
|
D | ParseExpr.cpp | 2775 Scope::DeclScope); in ParseBlockLiteralExpression()
|
/external/clang/include/clang/Sema/ |
D | Scope.h | 58 DeclScope = 0x08, enumerator
|