| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Program.h | 132 class DeclScope { 134 DeclScope(Program &P, const ValueDecl *VD) : P(P) { in DeclScope() function 137 ~DeclScope() { P.endDeclaration(); } in ~DeclScope() 151 friend class DeclScope;
|
| H A D | ByteCodeExprGen.h | 35 template <class Emitter> class DeclScope; variable 223 friend class DeclScope<Emitter>;
|
| H A D | ByteCodeExprGen.cpp | 28 template <class Emitter> class DeclScope final : public VariableScope<Emitter> { class 30 DeclScope(ByteCodeExprGen<Emitter> *Ctx, const ValueDecl *VD) in DeclScope() function in clang::interp::DeclScope 40 ~DeclScope() { this->Ctx->GlobalDecl = OldGlobalDecl; } in ~DeclScope() 43 Program::DeclScope Scope; 2418 DeclScope<Emitter> LocalScope(this, VD); in visitVarDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Scope.cpp | 78 if (flags & DeclScope) { in setFlags() 83 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 206 {DeclScope, "DeclScope"}, in dumpImpl()
|
| H A D | Sema.cpp | 2143 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
| H A D | SemaDeclCXX.cpp | 12194 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 12284 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 13505 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 18036 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
| H A D | SemaDecl.cpp | 2262 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 2404 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 6382 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 9775 ((S->getFlags() & Scope::DeclScope) == 0) || in getTagInjectionScope()
|
| H A D | SemaLookup.cpp | 2194 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
| H A D | SemaTemplate.cpp | 8536 while ((S->getFlags() & Scope::DeclScope) == 0 || in CheckTemplateDeclScope() 10609 while ((S->getFlags() & Scope::DeclScope) == 0 || in ActOnExplicitInstantiation()
|
| H A D | SemaCodeComplete.cpp | 4557 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 597 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 635 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 996 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1575 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1626 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1734 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1823 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 2023 ScopeFlags = Scope::DeclScope | Scope::ControlScope; in ParseForStatement() 2319 ParseScope InnerScope(this, Scope::DeclScope, C99orCXXorObjC, in ParseForStatement() 2638 /*isStmtExpr=*/false, Scope::DeclScope | Scope::TryScope | in ParseCXXTryBlockCommon() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 320 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII() 355 Scope::DeclScope); in ParseLexedMethodDeclaration() 560 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() 748 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 | 1452 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1964 ParseScope ClassScope(this, Scope::DeclScope | Scope::ClassScope); in ParseObjCClassInstanceVariables() 2545 ParseScope bodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCSynchronizedStmt() 2581 ParseScope TryScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2602 ParseScope CatchScope(this, Scope::DeclScope | in ParseObjCTryStmt() 2650 Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2700 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() 3737 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | Parser.cpp | 492 EnterScope(Scope::DeclScope); in Initialize() 1349 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1380 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1399 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1550 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
| H A D | ParseOpenMP.cpp | 374 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 409 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 591 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 691 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2502 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective() 4492 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4605 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4710 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList()
|
| H A D | ParseDeclCXX.cpp | 228 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 276 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 356 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 443 ParseScope ExportScope(this, Scope::DeclScope); in ParseExportDeclaration() 3316 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in SkipCXXMemberSpecification() 3507 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in ParseCXXMemberSpecification() 4133 ParseScope ParamScope(this, Scope::DeclScope | in ParseTrailingRequiresClause()
|
| H A D | ParseExprCXX.cpp | 1284 ParseScope LambdaScope(this, Scope::LambdaScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 1370 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1520 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 3497 Scope::DeclScope); in ParseRequiresExpression() 3526 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression()
|
| H A D | ParseTemplate.cpp | 1748 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef() 1773 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
|
| H A D | ParseDecl.cpp | 642 Scope::DeclScope); in ParseGNUAttributeArgs() 4706 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 5247 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 6745 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 6991 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
| H A D | ParseExpr.cpp | 3688 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
|
| H A D | ParsePragma.cpp | 941 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 63 new Scope(result.back(), Scope::DeclScope, sema.getDiagnostics()); in makeScopes()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 60 DeclScope = 0x08, enumerator
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 265 P->EnterScope(Scope::DeclScope); in ParseOrWrapTopLevelDecl()
|