/openbsd/gnu/llvm/clang/lib/AST/Interp/ |
H A D | Program.h | 132 class DeclScope { 134 DeclScope(Program &P, const VarDecl *VD) : P(P) { P.startDeclaration(VD); } in DeclScope() function 135 ~DeclScope() { P.endDeclaration(); } in ~DeclScope() 149 friend class DeclScope;
|
H A D | ByteCodeExprGen.h | 34 template <class Emitter> class DeclScope; variable 182 friend class DeclScope<Emitter>;
|
H A D | ByteCodeExprGen.cpp | 28 template <class Emitter> class DeclScope final : public LocalScope<Emitter> { class 30 DeclScope(ByteCodeExprGen<Emitter> *Ctx, const VarDecl *VD) in DeclScope() function in clang::interp::DeclScope 38 Program::DeclScope Scope; 1165 DeclScope<Emitter> LocalScope(this, VD); in visitVarDecl()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | Scope.cpp | 76 if (flags & DeclScope) { in setFlags() 81 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 204 {DeclScope, "DeclScope"}, in dumpImpl()
|
H A D | Sema.cpp | 2101 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
H A D | SemaDeclCXX.cpp | 11755 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 11845 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 13066 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 17393 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
H A D | SemaDecl.cpp | 2216 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 2352 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 6245 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 9542 ((S->getFlags() & Scope::DeclScope) == 0) || in getTagInjectionScope()
|
H A D | SemaTemplate.cpp | 8238 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 10305 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
H A D | SemaLookup.cpp | 2191 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
H A D | SemaCodeComplete.cpp | 4476 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 569 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 607 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 949 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1525 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1576 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1684 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1773 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1972 ScopeFlags = Scope::DeclScope | Scope::ControlScope; in ParseForStatement() 2255 ParseScope InnerScope(this, Scope::DeclScope, C99orCXXorObjC, in ParseForStatement() 2574 /*isStmtExpr=*/false, Scope::DeclScope | Scope::TryScope | in ParseCXXTryBlockCommon() [all …]
|
H A D | ParseCXXInlineMethods.cpp | 318 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII() 353 Scope::DeclScope); in ParseLexedMethodDeclaration() 557 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() 745 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
H A D | ParseHLSL.cpp | 67 ParseScope BufferScope(this, Scope::DeclScope); in ParseHLSLBuffer()
|
H A D | ParseObjc.cpp | 1439 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1951 ParseScope ClassScope(this, Scope::DeclScope | Scope::ClassScope); in ParseObjCClassInstanceVariables() 2532 ParseScope bodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCSynchronizedStmt() 2568 ParseScope TryScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2589 ParseScope CatchScope(this, Scope::DeclScope | in ParseObjCTryStmt() 2637 Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2687 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() 3724 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
H A D | Parser.cpp | 477 EnterScope(Scope::DeclScope); in Initialize() 1305 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1336 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1355 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1495 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
H A D | ParseOpenMP.cpp | 373 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 408 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 590 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 690 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2500 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective() 4373 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4434 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4539 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList()
|
H A D | ParseDeclCXX.cpp | 226 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 274 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 354 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 441 ParseScope ExportScope(this, Scope::DeclScope); in ParseExportDeclaration() 3258 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in SkipCXXMemberSpecification() 3447 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in ParseCXXMemberSpecification() 4069 ParseScope ParamScope(this, Scope::DeclScope | in ParseTrailingRequiresClause()
|
H A D | ParseTemplate.cpp | 1721 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef() 1741 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
|
H A D | ParseExprCXX.cpp | 1454 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1512 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 3481 Scope::DeclScope); in ParseRequiresExpression() 3511 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression()
|
H A D | ParseDecl.cpp | 543 Scope::DeclScope); in ParseGNUAttributeArgs() 4525 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 5059 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 6523 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 6759 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
H A D | ParseExpr.cpp | 3568 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
|
H A D | ParsePragma.cpp | 842 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | CxxModuleHandler.cpp | 63 new Scope(result.back(), Scope::DeclScope, sema.getDiagnostics()); in makeScopes()
|
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | Scope.h | 60 DeclScope = 0x08, enumerator
|
/openbsd/gnu/llvm/clang/lib/Interpreter/ |
H A D | IncrementalParser.cpp | 168 P->EnterScope(Scope::DeclScope); in ParseOrWrapTopLevelDecl()
|