| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Program.h | 144 class DeclScope { 146 DeclScope(Program &P) : P(P), PrevDecl(P.CurrentDeclaration) { in DeclScope() function 150 ~DeclScope() { P.CurrentDeclaration = PrevDecl; } in ~DeclScope() 165 friend class DeclScope;
|
| H A D | Compiler.h | 34 template <class Emitter> class DeclScope; variable 329 friend class DeclScope<Emitter>; variable
|
| H A D | Compiler.cpp | 39 template <class Emitter> class DeclScope final : public LocalScope<Emitter> { class 41 DeclScope(Compiler<Emitter> *Ctx, const ValueDecl *VD) in DeclScope() function in clang::interp::DeclScope 48 ~DeclScope() { in ~DeclScope() 54 Program::DeclScope Scope; 4594 DeclScope<Emitter> LS(this, VD); in visitDeclAndReturn() 4696 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 | 2320 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) in getScopeForContext()
|
| H A D | SemaLookup.cpp | 2225 while (!(S->getFlags() & Scope::DeclScope) || in LookupName()
|
| H A D | SemaDecl.cpp | 2200 assert((S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope)) && in ActOnPopScope() 2279 while (((S->getFlags() & Scope::DeclScope) == 0) || in getNonFieldDeclScope() 9844 ((S->getFlags() & Scope::DeclScope) == 0) || in getTagInjectionScope()
|
| H A D | SemaDeclCXX.cpp | 12528 assert(S->getFlags() & Scope::DeclScope && "Invalid Scope."); in ActOnUsingDeclaration() 18348 Scope FakeDCScope(S, Scope::DeclScope, Diags); in ActOnFriendFunctionDecl()
|
| H A D | SemaCodeComplete.cpp | 4728 (S->getFlags() & Scope::DeclScope) != 0 && in CodeCompleteDeclSpec()
|
| H A D | SemaExpr.cpp | 14118 const unsigned ForInitFlags = Scope::ControlScope | Scope::DeclScope; in DiagnoseCommaOperator()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 567 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 600 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 947 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1453 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1493 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1544 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1648 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1688 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1733 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1762 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 351 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII() 382 Scope::DeclScope); in ParseLexedMethodDeclaration() 600 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLexedMethodDef() 768 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
|
| H A D | ParseObjc.cpp | 1228 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1704 ParseScope ClassScope(this, Scope::DeclScope | Scope::ClassScope); in ParseObjCClassInstanceVariables() 2240 ParseScope bodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCSynchronizedStmt() 2266 ParseScope TryScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2287 ParseScope CatchScope(this, Scope::DeclScope | in ParseObjCTryStmt() 2335 Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2381 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() 3299 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
| H A D | ParseHLSL.cpp | 68 ParseScope BufferScope(this, Scope::DeclScope); in ParseHLSLBuffer()
|
| H A D | Parser.cpp | 486 EnterScope(Scope::DeclScope); in Initialize() 1278 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1309 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1328 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1481 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
| H A D | ParseOpenMP.cpp | 249 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 285 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 464 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 638 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2287 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPExecutableDirective() 2447 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPInformationalDirective() 4487 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4600 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 4708 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList()
|
| H A D | ParseDeclCXX.cpp | 202 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 249 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 319 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 412 ParseScope ExportScope(this, Scope::DeclScope); in ParseExportDeclaration() 3396 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in SkipCXXMemberSpecification() 3584 ParseScope ClassScope(this, Scope::ClassScope | Scope::DeclScope); in ParseCXXMemberSpecification() 4203 ParseScope ParamScope(this, Scope::DeclScope | in ParseTrailingRequiresClause()
|
| H A D | ParseExprCXX.cpp | 1219 ParseScope LambdaScope(this, Scope::LambdaScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 1315 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1467 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 3138 Scope::DeclScope); in ParseRequiresExpression() 3167 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression()
|
| H A D | ParseTemplate.cpp | 1423 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef() 1448 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
|
| H A D | ParseDecl.cpp | 682 Scope::DeclScope); in ParseGNUAttributeArgs() 4844 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 5356 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 5694 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseTopLevelStmtDecl() 6820 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 7102 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
| H A D | ParseExpr.cpp | 3269 Scope::CompoundStmtScope | Scope::DeclScope); in ParseBlockLiteralExpression()
|
| H A D | ParsePragma.cpp | 937 ParseScope CapturedRegionScope(this, Scope::FnScope | Scope::DeclScope | in HandlePragmaCaptured()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 60 P->EnterScope(Scope::DeclScope); in ParseOrWrapTopLevelDecl()
|
| /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
|