/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 | 1117 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
D | SemaDeclCXX.cpp | 7552 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 7647 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 8511 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 12710 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
D | SemaDecl.cpp | 1595 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 1685 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 4802 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 12130 ((S->getFlags() & Scope::DeclScope) == 0) || in ActOnTag()
|
D | SemaTemplate.cpp | 5765 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 7627 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
D | SemaLookup.cpp | 1621 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
D | SemaCodeComplete.cpp | 3456 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 434 Scope::DeclScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 472 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 816 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); in ParseCompoundStatement() 1113 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1141 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1173 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1239 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1276 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1325 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1349 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
D | ParseCXXInlineMethods.cpp | 280 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() 309 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration() 479 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() 516 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() 584 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
|
D | ParseObjc.cpp | 1425 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1902 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() 2453 ParseScope bodyScope(this, Scope::DeclScope); in ParseObjCSynchronizedStmt() 2489 ParseScope TryScope(this, Scope::DeclScope); in ParseObjCTryStmt() 2510 ParseScope CatchScope(this, Scope::DeclScope|Scope::AtCatchScope); in ParseObjCTryStmt() 2554 ParseScope FinallyScope(this, Scope::DeclScope); in ParseObjCTryStmt() 2591 ParseScope BodyScope(this, Scope::DeclScope); in ParseObjCAutoreleasePoolStmt() 3588 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs() 3589 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
|
D | Parser.cpp | 455 EnterScope(Scope::DeclScope); in Initialize() 1025 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1049 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1067 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1181 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
D | ParseTemplate.cpp | 1347 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef() 1366 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() 2792 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() 2962 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
|
D | ParseDecl.cpp | 374 Scope::DeclScope)); in ParseGNUAttributeArgs() 1138 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes() 1215 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() 3584 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 4076 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 5305 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 5438 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
D | ParseOpenMP.cpp | 177 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
|
D | ParseExprCXX.cpp | 1071 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1236 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
|
D | ParseExpr.cpp | 2727 Scope::DeclScope); in ParseBlockLiteralExpression()
|
D | ParsePragma.cpp | 436 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
|
/external/clang/include/clang/Sema/ |
D | Scope.h | 57 DeclScope = 0x08, enumerator
|