/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Program.h | 133 class DeclScope { 135 DeclScope(Program &P, const ValueDecl *VD) : P(P) { in DeclScope() function 138 ~DeclScope() { P.endDeclaration(); } in ~DeclScope() 152 friend class DeclScope;
|
H A D | Compiler.h | 34 template <class Emitter> class DeclScope; variable 300 friend class DeclScope<Emitter>; variable
|
H A D | Compiler.cpp | 28 template <class Emitter> class DeclScope final : public LocalScope<Emitter> { class 30 DeclScope(Compiler<Emitter> *Ctx, const ValueDecl *VD) in DeclScope() function in clang::interp::DeclScope 43 ~DeclScope() { in ~DeclScope() 50 Program::DeclScope Scope; 3624 DeclScope<Emitter> LS(this, VD); in visitDeclAndReturn() 3698 DeclScope<Emitter> LocalScope(this, VD); in visitVarDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | Scope.cpp | 80 if (flags & DeclScope) { in setFlags() 86 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 209 {DeclScope, "DeclScope"}, in dumpImpl()
|
H A D | Sema.cpp | 2154 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
H A D | SemaLookup.cpp | 2187 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
H A D | SemaDecl.cpp | 2182 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 2261 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 9631 ((S->getFlags() & Scope::DeclScope) == 0) || in getTagInjectionScope()
|
H A D | SemaDeclCXX.cpp | 12200 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 17811 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
H A D | SemaCodeComplete.cpp | 4565 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
H A D | SemaExpr.cpp | 13720 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 609 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 647 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 1008 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1550 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1590 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1641 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1749 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1789 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1838 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1862 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
H A D | ParseCXXInlineMethods.cpp | 364 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII() 399 Scope::DeclScope); in ParseLexedMethodDeclaration() 621 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() 811 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
H A D | ParseObjc.cpp | 1458 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1954 ParseScope ClassScope(this, Scope::DeclScope | Scope::ClassScope); in ParseObjCClassInstanceVariables() 2544 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() 2699 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() 3736 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
H A D | ParseHLSL.cpp | 68 ParseScope BufferScope(this, Scope::DeclScope); in ParseHLSLBuffer()
|
H A D | Parser.cpp | 493 EnterScope(Scope::DeclScope); in Initialize() 1354 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1385 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1404 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1559 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
H A D | ParseOpenMP.cpp | 378 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 414 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 598 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 701 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2428 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPExecutableDirective() 4435 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4548 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4655 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList()
|
H A D | ParseDeclCXX.cpp | 237 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 285 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 365 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 460 ParseScope ExportScope(this, Scope::DeclScope); in ParseExportDeclaration() 3494 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in SkipCXXMemberSpecification() 3688 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in ParseCXXMemberSpecification() 4337 ParseScope ParamScope(this, Scope::DeclScope | in ParseTrailingRequiresClause()
|
H A D | ParseExprCXX.cpp | 1360 ParseScope LambdaScope(this, Scope::LambdaScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 1455 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1608 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 3611 Scope::DeclScope); in ParseRequiresExpression() 3640 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression()
|
H A D | ParseTemplate.cpp | 1634 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef() 1659 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
|
H A D | ParseDecl.cpp | 723 Scope::DeclScope); in ParseGNUAttributeArgs() 5080 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 5630 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 5968 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseTopLevelStmtDecl() 7154 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 7421 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
H A D | ParseExpr.cpp | 3789 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
|
H A D | ParsePragma.cpp | 949 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
/freebsd/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/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Scope.h | 63 DeclScope = 0x08, enumerator
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | IncrementalParser.cpp | 265 P->EnterScope(Scope::DeclScope); in ParseOrWrapTopLevelDecl()
|