Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DScope.cpp71 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()
DSema.cpp1044 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
DSemaDeclCXX.cpp7093 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()
DSemaDecl.cpp1493 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()
DSemaTemplate.cpp5564 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()
7374 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
DSemaLookup.cpp1324 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
DSemaCodeComplete.cpp3349 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
/external/clang/lib/Parse/
DParseStmt.cpp431 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 …]
DParseCXXInlineMethods.cpp277 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()
DParseObjc.cpp1055 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()
DParser.cpp425 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()
DParseTemplate.cpp1308 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()
1327 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
DParseDecl.cpp373 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()
DParseOpenMP.cpp119 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
DParseDeclCXX.cpp173 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()
DParseExprCXX.cpp1014 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer()
1171 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParsePragma.cpp400 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
DParseExpr.cpp2420 Scope::DeclScope); in ParseBlockLiteralExpression()
/external/clang/include/clang/Sema/
DScope.h57 DeclScope = 0x08, enumerator