/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
H A D | Program.h | 114 class DeclScope { 116 DeclScope(Program &P, const VarDecl *VD) : P(P) { P.startDeclaration(VD); } in DeclScope() function 117 ~DeclScope() { P.endDeclaration(); } in ~DeclScope() 131 friend class DeclScope;
|
H A D | ByteCodeExprGen.cpp | 29 template <class Emitter> class DeclScope final : public LocalScope<Emitter> { class 31 DeclScope(ByteCodeExprGen<Emitter> *Ctx, const VarDecl *VD) in DeclScope() function in clang::interp::DeclScope 39 Program::DeclScope Scope; 491 Program::DeclScope Scope(P, VD); in getGlobalIdx() 538 DeclScope<Emitter> LocalScope(this, VD); in visitDecl() 552 DeclScope<Emitter> LocalScope(this, VD); in visitDecl()
|
H A D | ByteCodeExprGen.h | 37 template <class Emitter> class DeclScope; variable 164 friend class DeclScope<Emitter>;
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | Scope.cpp | 73 if (flags & DeclScope) { in setFlags() 78 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 149 {DeclScope, "DeclScope"}, in dumpImpl()
|
H A D | Sema.cpp | 1900 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
H A D | SemaDeclCXX.cpp | 11450 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 11540 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 12575 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 16725 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
H A D | SemaDecl.cpp | 1927 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 2027 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 5729 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 8938 ((S->getFlags() & Scope::DeclScope) == 0) || in getTagInjectionScope()
|
H A D | SemaTemplate.cpp | 7926 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 9949 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
H A D | SemaLookup.cpp | 1924 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
H A D | SemaCodeComplete.cpp | 4319 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
H A D | SemaExpr.cpp | 13176 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 501 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 539 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 878 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1369 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1406 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1450 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1526 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1566 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1615 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1639 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
H A D | ParseCXXInlineMethods.cpp | 304 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII() 339 Scope::DeclScope); in ParseLexedMethodDeclaration() 542 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() 726 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
H A D | ParseObjc.cpp | 1401 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1911 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() 2479 ParseScope bodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCSynchronizedStmt() 2515 ParseScope TryScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2536 ParseScope CatchScope(this, Scope::DeclScope | in ParseObjCTryStmt() 2583 Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2633 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() 3670 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
H A D | Parser.cpp | 476 EnterScope(Scope::DeclScope); in Initialize() 1227 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1258 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1277 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1408 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
H A D | ParseDeclCXX.cpp | 212 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 259 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 339 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 422 ParseScope ExportScope(this, Scope::DeclScope); in ParseExportDeclaration() 3087 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() 3272 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification() 3880 Scope::DeclScope | in ParseTrailingRequiresClause()
|
H A D | ParseOpenMP.cpp | 361 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 396 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 582 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 682 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2284 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective() 3779 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 3923 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList()
|
H A D | ParseTemplate.cpp | 1655 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef() 1675 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
|
H A D | ParseExprCXX.cpp | 1400 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1458 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 3372 Scope::DeclScope); in ParseRequiresExpression() 3402 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression()
|
H A D | ParseDecl.cpp | 502 Scope::DeclScope); in ParseGNUAttributeArgs() 4266 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 4792 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 6198 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 6416 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
H A D | ParseExpr.cpp | 3457 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
|
H A D | ParsePragma.cpp | 747 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | Scope.h | 59 DeclScope = 0x08, enumerator
|