Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDScope.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()
HDSema.cpp1089 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
HDSemaDeclCXX.cpp7561 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective()
7656 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration()
8529 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration()
12692 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
HDSemaDecl.cpp1593 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope()
1683 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope()
4729 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator()
11805 ((S->getFlags() & Scope::DeclScope) == 0) || in ActOnTag()
HDSemaTemplate.cpp5727 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()
7584 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
HDSemaLookup.cpp1472 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
HDSemaCodeComplete.cpp3455 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseStmt.cpp425 Scope::DeclScope | Scope::SEHTryScope)); in ParseSEHTryBlock()
463 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock()
807 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); in ParseCompoundStatement()
1100 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement()
1128 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement()
1160 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement()
1226 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement()
1263 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement()
1312 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement()
1336 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement()
[all …]
HDParseCXXInlineMethods.cpp278 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations()
307 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration()
477 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs()
514 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef()
582 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
HDParseObjc.cpp1416 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl()
1894 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables()
2446 ParseScope bodyScope(this, Scope::DeclScope); in ParseObjCSynchronizedStmt()
2482 ParseScope TryScope(this, Scope::DeclScope); in ParseObjCTryStmt()
2503 ParseScope CatchScope(this, Scope::DeclScope|Scope::AtCatchScope); in ParseObjCTryStmt()
2547 ParseScope FinallyScope(this, Scope::DeclScope); in ParseObjCTryStmt()
2584 ParseScope BodyScope(this, Scope::DeclScope); in ParseObjCAutoreleasePoolStmt()
3580 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs()
3581 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
HDParser.cpp454 EnterScope(Scope::DeclScope); in Initialize()
1024 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1048 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1066 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition()
1149 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
HDParseTemplate.cpp1346 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef()
1365 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
HDParseDeclCXX.cpp181 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace()
230 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace()
297 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage()
2750 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification()
2826 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
HDParseDecl.cpp373 Scope::DeclScope)); in ParseGNUAttributeArgs()
1139 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes()
1218 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute()
3574 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody()
4065 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody()
5285 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator()
5418 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
HDParseOpenMP.cpp162 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
HDParseExprCXX.cpp1069 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer()
1234 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope; in ParseLambdaExpressionAfterIntroducer()
HDParsePragma.cpp426 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope); in HandlePragmaCaptured()
HDParseExpr.cpp2695 Scope::DeclScope); in ParseBlockLiteralExpression()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDScope.h57 DeclScope = 0x08, enumerator