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.cpp1117 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
DSemaDeclCXX.cpp7552 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()
DSemaDecl.cpp1595 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()
DSemaTemplate.cpp5765 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()
7627 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
DSemaLookup.cpp1621 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
DSemaCodeComplete.cpp3456 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
/external/clang/lib/Parse/
DParseStmt.cpp434 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 …]
DParseCXXInlineMethods.cpp280 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()
DParseObjc.cpp1425 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()
DParser.cpp455 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()
DParseTemplate.cpp1347 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()
1366 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()
2792 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification()
2962 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
DParseDecl.cpp374 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()
DParseOpenMP.cpp177 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
DParseExprCXX.cpp1071 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer()
1236 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
DParseExpr.cpp2727 Scope::DeclScope); in ParseBlockLiteralExpression()
DParsePragma.cpp436 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
/external/clang/include/clang/Sema/
DScope.h57 DeclScope = 0x08, enumerator