Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DScope.cpp74 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()
DSema.cpp1110 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
DSemaDeclCXX.cpp7717 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()
DSemaDecl.cpp1637 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()
DSemaTemplate.cpp5809 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()
7743 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
DSemaLookup.cpp1707 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
DSemaCodeComplete.cpp3469 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
DSemaExpr.cpp10104 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
/external/clang/lib/Parse/
DParseStmt.cpp446 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 …]
DParseCXXInlineMethods.cpp287 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()
DParseObjc.cpp1413 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()
DParser.cpp455 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()
DParseOpenMP.cpp290 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()
DParseTemplate.cpp1364 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()
1383 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
DParseDeclCXX.cpp182 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()
DParseDecl.cpp375 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()
DParseExprCXX.cpp1134 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer()
1304 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParsePragma.cpp442 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
DParseExpr.cpp2775 Scope::DeclScope); in ParseBlockLiteralExpression()
/external/clang/include/clang/Sema/
DScope.h58 DeclScope = 0x08, enumerator