/external/clang/lib/Sema/ |
D | Scope.cpp | 74 if (flags & DeclScope) { in Init() 79 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in Init() 152 } else if (Flags & DeclScope) { in dumpImpl() 154 Flags &= ~DeclScope; in dumpImpl()
|
D | Sema.cpp | 1067 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
D | SemaDeclCXX.cpp | 7528 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 7623 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 8496 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 12654 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
D | SemaDecl.cpp | 1578 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 1668 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 4628 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 11575 ((S->getFlags() & Scope::DeclScope) == 0) || in ActOnTag()
|
D | SemaTemplate.cpp | 5685 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 7513 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
D | SemaLookup.cpp | 1330 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
D | SemaCodeComplete.cpp | 3396 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 428 Scope::DeclScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 466 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 810 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); in ParseCompoundStatement() 1103 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1131 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1163 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1229 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1266 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1315 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1339 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
D | ParseCXXInlineMethods.cpp | 283 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() 312 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration() 482 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() 519 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() 587 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
|
D | ParseObjc.cpp | 1021 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1255 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() 1779 ParseScope bodyScope(this, Scope::DeclScope); in ParseObjCSynchronizedStmt() 1815 ParseScope TryScope(this, Scope::DeclScope); in ParseObjCTryStmt() 1836 ParseScope CatchScope(this, Scope::DeclScope|Scope::AtCatchScope); in ParseObjCTryStmt() 1880 ParseScope FinallyScope(this, Scope::DeclScope); in ParseObjCTryStmt() 1917 ParseScope BodyScope(this, Scope::DeclScope); in ParseObjCAutoreleasePoolStmt() 2899 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs() 2900 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
|
D | Parser.cpp | 425 EnterScope(Scope::DeclScope); in Initialize() 991 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1015 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1033 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1116 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
D | ParseTemplate.cpp | 1326 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef() 1345 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
|
D | ParseDeclCXX.cpp | 181 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 230 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 297 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 2724 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() 2800 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
|
D | ParseOpenMP.cpp | 143 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
|
D | ParseDecl.cpp | 372 Scope::DeclScope)); in ParseGNUAttributeArgs() 1108 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes() 1187 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() 3461 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 3924 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 5105 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 5238 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
D | ParseExprCXX.cpp | 1069 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1236 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
|
D | ParsePragma.cpp | 426 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
|
D | ParseExpr.cpp | 2639 Scope::DeclScope); in ParseBlockLiteralExpression()
|
/external/clang/include/clang/Sema/ |
D | Scope.h | 57 DeclScope = 0x08, enumerator
|