Home
last modified time | relevance | path

Searched refs:DeclScope (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/Sema/
DScope.cpp74 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()
DSema.cpp1067 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
DSemaDeclCXX.cpp7528 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()
DSemaDecl.cpp1578 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()
DSemaTemplate.cpp5685 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()
7513 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
DSemaLookup.cpp1330 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
DSemaCodeComplete.cpp3396 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
/external/clang/lib/Parse/
DParseStmt.cpp428 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 …]
DParseCXXInlineMethods.cpp283 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()
DParseObjc.cpp1021 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()
DParser.cpp425 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()
DParseTemplate.cpp1326 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()
1345 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
DParseDeclCXX.cpp181 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()
DParseOpenMP.cpp143 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
DParseDecl.cpp372 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()
DParseExprCXX.cpp1069 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer()
1236 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParsePragma.cpp426 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
DParseExpr.cpp2639 Scope::DeclScope); in ParseBlockLiteralExpression()
/external/clang/include/clang/Sema/
DScope.h57 DeclScope = 0x08, enumerator