Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DProgram.h114 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 DByteCodeExprGen.cpp29 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 DByteCodeExprGen.h37 template <class Emitter> class DeclScope; variable
164 friend class DeclScope<Emitter>;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DScope.cpp73 if (flags & DeclScope) { in setFlags()
78 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags()
149 {DeclScope, "DeclScope"}, in dumpImpl()
H A DSema.cpp1900 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
H A DSemaDeclCXX.cpp11450 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 DSemaDecl.cpp1927 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 DSemaTemplate.cpp7926 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope()
9949 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
H A DSemaLookup.cpp1924 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
H A DSemaCodeComplete.cpp4319 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
H A DSemaExpr.cpp13176 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp501 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 DParseCXXInlineMethods.cpp304 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 DParseObjc.cpp1401 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 DParser.cpp476 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 DParseDeclCXX.cpp212 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 DParseOpenMP.cpp361 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 DParseTemplate.cpp1655 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef()
1675 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
H A DParseExprCXX.cpp1400 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 DParseDecl.cpp502 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 DParseExpr.cpp3457 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
H A DParsePragma.cpp747 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScope.h59 DeclScope = 0x08, enumerator