| /freebsd-13.1/contrib/llvm-project/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>;
|
| /freebsd-13.1/contrib/llvm-project/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 | 1958 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
| H A D | SemaDeclCXX.cpp | 11457 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDirective() 11547 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 12757 assert((S->getFlags() & Scope::DeclScope) && in ActOnAliasDeclaration() 16930 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
| H A D | SemaDecl.cpp | 1975 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 2079 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 5792 while ((S->getFlags() & Scope::DeclScope) == 0 || in HandleDeclarator() 8997 ((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 | 4322 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
| H A D | SemaExpr.cpp | 13297 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 506 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 544 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 883 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1411 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1455 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1531 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1620 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1810 ScopeFlags = Scope::DeclScope | Scope::ControlScope; in ParseForStatement() 2082 ParseScope InnerScope(this, Scope::DeclScope, C99orCXXorObjC, in ParseForStatement() 2398 /*isStmtExpr=*/false, Scope::DeclScope | Scope::TryScope | in ParseCXXTryBlockCommon() [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 | 477 EnterScope(Scope::DeclScope); in Initialize() 1230 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1261 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1280 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1411 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
| 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() 2287 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective() 3788 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 3932 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList()
|
| 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() 3154 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() 3340 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification() 3971 Scope::DeclScope | in ParseTrailingRequiresClause()
|
| 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() 3373 Scope::DeclScope); in ParseRequiresExpression() 3403 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression()
|
| H A D | ParseDecl.cpp | 502 Scope::DeclScope); in ParseGNUAttributeArgs() 4279 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 4805 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 6215 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 6433 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
| H A D | ParseExpr.cpp | 3487 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
|
| H A D | ParsePragma.cpp | 747 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 59 DeclScope = 0x08, enumerator
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 61 new Scope(result.back(), Scope::DeclScope, sema.getDiagnostics()); in makeScopes()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 160 P->EnterScope(Scope::DeclScope); in ParseOrWrapTopLevelDecl()
|