/external/clang/lib/Sema/ |
D | Scope.cpp | 71 if (flags & DeclScope) { in Init() 76 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in Init() 149 } else if (Flags & DeclScope) { in dumpImpl() 151 Flags &= ~DeclScope; in dumpImpl()
|
D | Sema.cpp | 1044 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
D | SemaDeclCXX.cpp | 7093 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 7184 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 8051 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 12052 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
D | SemaDecl.cpp | 1493 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 1580 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 4384 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 11012 ((S->getFlags() & Scope::DeclScope) == 0) || in ActOnTag()
|
D | SemaTemplate.cpp | 5564 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 7374 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
D | SemaLookup.cpp | 1324 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
D | SemaCodeComplete.cpp | 3349 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 431 Scope::DeclScope | Scope::SEHTryScope)); in ParseSEHTryBlockCommon() 469 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope); in ParseSEHExceptBlock() 790 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); in ParseCompoundStatement() 1089 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1117 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1149 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1215 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1252 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1301 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1325 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
D | ParseCXXInlineMethods.cpp | 277 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() 306 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration() 386 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() 418 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() 489 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
|
D | ParseObjc.cpp | 1055 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1289 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() 1826 ParseScope bodyScope(this, Scope::DeclScope); in ParseObjCSynchronizedStmt() 1862 ParseScope TryScope(this, Scope::DeclScope); in ParseObjCTryStmt() 1883 ParseScope CatchScope(this, Scope::DeclScope|Scope::AtCatchScope); in ParseObjCTryStmt() 1927 ParseScope FinallyScope(this, Scope::DeclScope); in ParseObjCTryStmt() 1964 ParseScope BodyScope(this, Scope::DeclScope); in ParseObjCAutoreleasePoolStmt() 2935 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs() 2936 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
|
D | Parser.cpp | 425 EnterScope(Scope::DeclScope); in Initialize() 986 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1010 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1028 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1110 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
D | ParseTemplate.cpp | 1308 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef() 1327 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
|
D | ParseDecl.cpp | 373 Scope::DeclScope)); in ParseGNUAttributeArgs() 1019 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes() 1092 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() 3305 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 3774 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 4899 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 5032 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
D | ParseOpenMP.cpp | 119 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
|
D | ParseDeclCXX.cpp | 173 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 220 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 287 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 2546 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
|
D | ParseExprCXX.cpp | 1014 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1171 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
|
D | ParsePragma.cpp | 400 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
|
D | ParseExpr.cpp | 2420 Scope::DeclScope); in ParseBlockLiteralExpression()
|
/external/clang/include/clang/Sema/ |
D | Scope.h | 57 DeclScope = 0x08, enumerator
|