/external/llvm-project/clang/lib/AST/Interp/ |
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;
|
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()
|
D | ByteCodeExprGen.h | 37 template <class Emitter> class DeclScope; variable 164 friend class DeclScope<Emitter>; variable
|
/external/clang/lib/Sema/ |
D | Scope.cpp | 74 if (flags & DeclScope) { in setFlags() 79 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 156 } else if (Flags & DeclScope) { in dumpImpl() 158 Flags &= ~DeclScope; in dumpImpl()
|
/external/llvm-project/clang/lib/Sema/ |
D | Scope.cpp | 73 if (flags & DeclScope) { in setFlags() 78 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope) in setFlags() 149 {DeclScope, "DeclScope"}, in dumpImpl()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 446 Scope::DeclScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 484 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 832 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); in ParseCompoundStatement() 1141 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1173 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1211 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1281 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1319 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1368 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1390 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
D | ParseCXXInlineMethods.cpp | 287 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() 316 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration() 486 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() 523 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() 593 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedMemberInitializers()
|
D | ParseObjc.cpp | 1413 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1927 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() 2507 ParseScope bodyScope(this, Scope::DeclScope); in ParseObjCSynchronizedStmt() 2543 ParseScope TryScope(this, Scope::DeclScope); in ParseObjCTryStmt() 2564 ParseScope CatchScope(this, Scope::DeclScope|Scope::AtCatchScope); in ParseObjCTryStmt() 2608 ParseScope FinallyScope(this, Scope::DeclScope); in ParseObjCTryStmt() 2645 ParseScope BodyScope(this, Scope::DeclScope); in ParseObjCAutoreleasePoolStmt() 3645 ? Scope::ObjCMethodScope|Scope::FnScope|Scope::DeclScope in ParseLexedObjCMethodDefs() 3646 : Scope::FnScope|Scope::DeclScope); in ParseLexedObjCMethodDefs()
|
D | Parser.cpp | 455 EnterScope(Scope::DeclScope); in Initialize() 1038 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1068 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1086 ParseScope BodyScope(this, Scope::FnScope|Scope::DeclScope); in ParseFunctionDefinition() 1207 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
D | ParseOpenMP.cpp | 290 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 325 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 394 FnScope = new Parser::ParseScope(&P, Scope::FnScope | Scope::DeclScope, in FNContextRAII() 788 Scope::FnScope | Scope::DeclScope | Scope::OpenMPDirectiveScope; in ParseOpenMPDeclarativeOrExecutableDirective()
|
D | ParseTemplate.cpp | 1364 TemplateParamScopeStack.push_back(new ParseScope(this, Scope::DeclScope)); in ParseLateTemplatedFuncDef() 1383 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLateTemplatedFuncDef()
|
D | ParseDeclCXX.cpp | 182 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseNamespace() 234 ParseScope NamespaceScope(this, Scope::DeclScope); in ParseInnerNamespace() 303 ParseScope LinkageScope(this, Scope::DeclScope); in ParseLinkage() 2812 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() 2983 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification()
|
D | ParseDecl.cpp | 375 Scope::DeclScope)); in ParseGNUAttributeArgs() 1169 unsigned ScopeFlags = Scope::ClassScope|Scope::DeclScope; in ParseLexedAttributes() 1246 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope, HasFunScope); in ParseLexedAttribute() 3673 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 4165 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 5410 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 5543 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseStmt.cpp | 491 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 529 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 875 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1366 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1403 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1447 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1523 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() 1563 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseSwitchStatement() 1612 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement() 1636 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseWhileStatement() [all …]
|
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()
|
D | ParseObjc.cpp | 1397 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseObjCMethodDecl() 1909 ParseScope ClassScope(this, Scope::DeclScope|Scope::ClassScope); in ParseObjCClassInstanceVariables() 2475 ParseScope bodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCSynchronizedStmt() 2511 ParseScope TryScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2532 ParseScope CatchScope(this, Scope::DeclScope | in ParseObjCTryStmt() 2579 Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCTryStmt() 2629 ParseScope BodyScope(this, Scope::DeclScope | Scope::CompoundStmtScope); in ParseObjCAutoreleasePoolStmt() 3666 Scope::FnScope | Scope::DeclScope | in ParseLexedObjCMethodDefs()
|
D | Parser.cpp | 476 EnterScope(Scope::DeclScope); in Initialize() 1227 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1258 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1277 ParseScope BodyScope(this, Scope::FnScope | Scope::DeclScope | in ParseFunctionDefinition() 1408 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseKNRParamDeclarations()
|
D | ParseOpenMP.cpp | 351 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 386 ParseScope OMPDRScope(this, Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareReductionDirective() 572 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclareMapperDirective() 672 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII() 2149 unsigned ScopeFlags = Scope::FnScope | Scope::DeclScope | in ParseOpenMPDeclarativeOrExecutableDirective() 3428 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList() 3572 EnterScope(Scope::OpenMPDirectiveScope | Scope::DeclScope); in ParseOpenMPVarList()
|
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() 3066 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in SkipCXXMemberSpecification() 3251 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope); in ParseCXXMemberSpecification() 3867 Scope::DeclScope | in ParseTrailingRequiresClause()
|
D | ParseTemplate.cpp | 1655 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef() 1675 ParseScope FnScope(this, Scope::FnScope | Scope::DeclScope | in ParseLateTemplatedFuncDef()
|
D | ParseExprCXX.cpp | 1311 Scope::DeclScope); in ParseLambdaExpressionAfterIntroducer() 1503 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer() 3387 Scope::DeclScope); in ParseRequiresExpression() 3417 ParseScope BodyScope(this, Scope::DeclScope); in ParseRequiresExpression()
|
D | ParseDecl.cpp | 478 Scope::DeclScope); in ParseGNUAttributeArgs() 4203 ParseScope StructScope(this, Scope::ClassScope|Scope::DeclScope); in ParseStructUnionBody() 4731 ParseScope EnumScope(this, Scope::DeclScope | Scope::EnumScope); in ParseEnumBody() 6138 Scope::FunctionPrototypeScope|Scope::DeclScope| in ParseDirectDeclarator() 6356 Scope::FunctionPrototypeScope | Scope::DeclScope | in ParseParenDeclarator()
|
/external/clang/include/clang/Sema/ |
D | Scope.h | 58 DeclScope = 0x08, enumerator
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Scope.h | 59 DeclScope = 0x08, enumerator
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | CxxModuleHandler.cpp | 57 new Scope(result.back(), Scope::DeclScope, sema.getDiagnostics()); in makeScopes()
|