Home
last modified time | relevance | path

Searched refs:CompilerDeclContext (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm-project/lldb/source/Symbol/
DCompilerDeclContext.cpp17 CompilerDeclContext::FindDeclByName(ConstString name, in FindDeclByName()
25 ConstString CompilerDeclContext::GetName() const { in GetName()
31 ConstString CompilerDeclContext::GetScopeQualifiedName() const { in GetScopeQualifiedName()
37 bool CompilerDeclContext::IsClassMethod(lldb::LanguageType *language_ptr, in IsClassMethod()
47 bool CompilerDeclContext::IsContainedInLookup(CompilerDeclContext other) const { in IsContainedInLookup()
60 bool lldb_private::operator==(const lldb_private::CompilerDeclContext &lhs, in operator ==()
61 const lldb_private::CompilerDeclContext &rhs) { in operator ==()
66 bool lldb_private::operator!=(const lldb_private::CompilerDeclContext &lhs, in operator !=()
67 const lldb_private::CompilerDeclContext &rhs) { in operator !=()
DSymbolFile.cpp108 const CompilerDeclContext &parent_decl_ctx, in FindGlobalVariables()
117 const CompilerDeclContext &parent_decl_ctx, in FindFunctions()
133 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindTypes()
DTypeSystem.cpp108 const CompilerDeclContext &decl_ctx, in CreateTypedef()
153 CompilerDeclContext TypeSystem::DeclGetDeclContext(void *opaque_decl) { in DeclGetDeclContext()
154 return CompilerDeclContext(); in DeclGetDeclContext()
DCompilerDecl.cpp23 CompilerDeclContext CompilerDecl::GetDeclContext() const { in GetDeclContext()
/external/llvm-project/lldb/include/lldb/Symbol/
DCompilerDeclContext.h30 class CompilerDeclContext {
33 CompilerDeclContext() = default;
42 CompilerDeclContext(TypeSystem *type_system, void *decl_ctx) in CompilerDeclContext() function
49 bool operator<(const CompilerDeclContext &rhs) const {
97 bool IsContainedInLookup(CompilerDeclContext other) const;
124 bool operator==(const CompilerDeclContext &lhs, const CompilerDeclContext &rhs);
125 bool operator!=(const CompilerDeclContext &lhs, const CompilerDeclContext &rhs);
DSymbolFile.h199 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext()
203 virtual CompilerDeclContext GetDeclContextForUID(lldb::user_id_t uid) { in GetDeclContextForUID()
204 return CompilerDeclContext(); in GetDeclContextForUID()
206 virtual CompilerDeclContext GetDeclContextContainingUID(lldb::user_id_t uid) { in GetDeclContextContainingUID()
207 return CompilerDeclContext(); in GetDeclContextContainingUID()
219 const CompilerDeclContext &parent_decl_ctx,
226 const CompilerDeclContext &parent_decl_ctx,
232 FindTypes(ConstString name, const CompilerDeclContext &parent_decl_ctx,
260 virtual CompilerDeclContext
261 FindNamespace(ConstString name, const CompilerDeclContext &parent_decl_ctx) { in FindNamespace()
[all …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DSymbolFilePDB.h94 lldb_private::CompilerDeclContext
97 lldb_private::CompilerDeclContext
101 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
115 const lldb_private::CompilerDeclContext &parent_decl_ctx,
124 const lldb_private::CompilerDeclContext &parent_decl_ctx,
141 const lldb_private::CompilerDeclContext &parent_decl_ctx,
161 lldb_private::CompilerDeclContext FindNamespace(
163 const lldb_private::CompilerDeclContext &parent_decl_ctx) override;
198 const lldb_private::CompilerDeclContext &parent_decl_ctx,
245 const lldb_private::CompilerDeclContext &decl_ctx);
DSymbolFilePDB.cpp642 lldb_private::CompilerDeclContext
649 return CompilerDeclContext(); in GetDeclContextForUID()
655 return CompilerDeclContext(); in GetDeclContextForUID()
659 return CompilerDeclContext(); in GetDeclContextForUID()
663 return CompilerDeclContext(); in GetDeclContextForUID()
672 lldb_private::CompilerDeclContext
679 return CompilerDeclContext(); in GetDeclContextContainingUID()
685 return CompilerDeclContext(); in GetDeclContextContainingUID()
689 return CompilerDeclContext(); in GetDeclContextContainingUID()
693 return CompilerDeclContext(); in GetDeclContextContainingUID()
[all …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARFDebugMap.h89 lldb_private::CompilerDeclContext
91 lldb_private::CompilerDeclContext
94 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
107 const lldb_private::CompilerDeclContext &parent_decl_ctx,
114 const lldb_private::CompilerDeclContext &parent_decl_ctx,
123 const lldb_private::CompilerDeclContext &parent_decl_ctx,
132 lldb_private::CompilerDeclContext FindNamespace(
134 const lldb_private::CompilerDeclContext &parent_decl_ctx) override;
256 const lldb_private::CompilerDeclContext &parent_decl_ctx,
DSymbolFileDWARF.h151 lldb_private::CompilerDeclContext
154 lldb_private::CompilerDeclContext
158 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
172 const lldb_private::CompilerDeclContext &parent_decl_ctx,
181 const lldb_private::CompilerDeclContext &parent_decl_ctx,
196 const lldb_private::CompilerDeclContext &parent_decl_ctx,
213 lldb_private::CompilerDeclContext FindNamespace(
215 const lldb_private::CompilerDeclContext &parent_decl_ctx) override;
286 DIEInDeclContext(const lldb_private::CompilerDeclContext &parent_decl_ctx,
311 static lldb_private::CompilerDeclContext GetDeclContext(const DWARFDIE &die);
[all …]
DDWARFASTParser.h44 virtual lldb_private::CompilerDeclContext
47 virtual lldb_private::CompilerDeclContext
51 lldb_private::CompilerDeclContext decl_context) = 0;
DDWARFIndex.h55 const CompilerDeclContext &parent_decl_ctx,
73 const CompilerDeclContext &parent_decl_ctx,
DSymbolFileDWARFDebugMap.cpp836 ConstString name, const CompilerDeclContext &parent_decl_ctx, in PrivateFindGlobalVariables()
858 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindGlobalVariables()
1012 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindFunctions()
1182 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindTypes()
1217 CompilerDeclContext SymbolFileDWARFDebugMap::FindNamespace( in FindNamespace()
1219 const CompilerDeclContext &parent_decl_ctx) { in FindNamespace()
1221 CompilerDeclContext matching_namespace; in FindNamespace()
1303 CompilerDeclContext
1309 return CompilerDeclContext(); in GetDeclContextForUID()
1312 CompilerDeclContext
[all …]
DDWARFASTParserClang.h60 lldb_private::CompilerDeclContext decl_context) override;
62 lldb_private::CompilerDeclContext
65 lldb_private::CompilerDeclContext
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DSymbolFileNativePDB.h81 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
103 const CompilerDeclContext &parent_decl_ctx,
112 CompilerDeclContext GetDeclContextForUID(lldb::user_id_t uid) override;
113 CompilerDeclContext GetDeclContextContainingUID(lldb::user_id_t uid) override;
132 const CompilerDeclContext &parent_decl_ctx,
139 void FindTypes(ConstString name, const CompilerDeclContext &parent_decl_ctx,
151 CompilerDeclContext
153 const CompilerDeclContext &parent_decl_ctx) override;
DPdbAstBuilder.h56 lldb_private::CompilerDeclContext GetTranslationUnitDecl();
79 CompilerDeclContext ToCompilerDeclContext(clang::DeclContext &context);
81 clang::DeclContext *FromCompilerDeclContext(CompilerDeclContext context);
/external/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
DSymbolFileBreakpad.h85 const CompilerDeclContext &parent_decl_ctx, in FindGlobalVariables()
113 const CompilerDeclContext &parent_decl_ctx,
120 void FindTypes(ConstString name, const CompilerDeclContext &parent_decl_ctx,
136 CompilerDeclContext
138 const CompilerDeclContext &parent_decl_ctx) override { in FindNamespace()
139 return CompilerDeclContext(); in FindNamespace()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionDeclMap.h282 const CompilerDeclContext &namespace_decl);
449 const CompilerDeclContext &namespace_decl);
466 const CompilerDeclContext &frame_decl_context);
483 const CompilerDeclContext &namespace_decl);
503 const CompilerDeclContext &namespace_decl);
DClangASTSource.cpp554 CompilerDeclContext namespace_decl; in FindExternalVisibleDecls()
597 CompilerDeclContext &namespace_decl) { in FindExternalVisibleDecls()
666 const CompilerDeclContext &namespace_decl) { in FillNamespaceMap()
674 CompilerDeclContext found_namespace_decl; in FillNamespaceMap()
681 std::pair<lldb::ModuleSP, CompilerDeclContext>( in FillNamespaceMap()
700 CompilerDeclContext found_namespace_decl; in FillNamespaceMap()
711 std::pair<lldb::ModuleSP, CompilerDeclContext>(image, in FillNamespaceMap()
1078 CompilerDeclContext function_decl_ctx = sc.function->GetDeclContext(); in FindObjCMethodDecls()
1645 CompilerDeclContext found_namespace_decl; in CompleteNamespaceMap()
1648 CompilerDeclContext module_parent_namespace_decl = i->second; in CompleteNamespaceMap()
[all …]
DClangExpressionDeclMap.cpp612 const CompilerDeclContext &namespace_decl) { in FindGlobalVariable()
635 CompilerDeclContext frame_decl_context = sym_ctx.block->GetDeclContext(); in GetTypeSystemClang()
676 CompilerDeclContext compiler_decl_ctx = in FindExternalVisibleDecls()
699 CompilerDeclContext namespace_decl; in FindExternalVisibleDecls()
794 CompilerDeclContext function_decl_ctx = function_block->GetDeclContext(); in LookUpLldbClass()
894 CompilerDeclContext function_decl_ctx = function_block->GetDeclContext(); in LookUpLldbObjCClass()
996 CompilerDeclContext frame_decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVarNamespace()
1065 const CompilerDeclContext &namespace_decl) { in LookupLocalVariable()
1069 CompilerDeclContext decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVariable()
1120 const CompilerDeclContext &frame_decl_context) { in SearchFunctionsInSymbolContexts()
[all …]
DClangASTSource.h283 CompilerDeclContext &namespace_decl);
368 const CompilerDeclContext &namespace_decl);
/external/llvm-project/lldb/tools/lldb-test/
Dlldb-test.cpp189 static Expected<CompilerDeclContext> getDeclContext(SymbolFile &Symfile);
396 Expected<CompilerDeclContext>
399 return CompilerDeclContext(); in getDeclContext()
401 Symfile.FindGlobalVariables(ConstString(Context), CompilerDeclContext(), in getDeclContext()
450 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile); in findFunctions()
453 const CompilerDeclContext &ContextPtr = in findFunctions()
454 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findFunctions()
506 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile); in findNamespaces()
509 const CompilerDeclContext &ContextPtr = in findNamespaces()
510 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findNamespaces()
[all …]
/external/llvm-project/lldb/unittests/SymbolFile/PDB/
DSymbolFilePDBTests.cpp358 symfile->FindTypes(ConstString("Class"), CompilerDeclContext(), 0, in TEST_F()
388 symfile->FindTypes(ConstString("Class"), CompilerDeclContext(), 0, in TEST_F()
408 auto ClassCompilerDeclCtx = CompilerDeclContext(clang_ast_ctx, ClassDeclCtx); in TEST_F()
447 symfile->ParseDeclsForContext(CompilerDeclContext( in TEST_F()
450 auto ns_namespace = symfile->FindNamespace(ConstString("NS"), CompilerDeclContext()); in TEST_F()
479 symfile->FindTypes(ConstString(Enum), CompilerDeclContext(), 0, in TEST_F()
528 symfile->FindTypes(ConstString(Typedef), CompilerDeclContext(), 0, in TEST_F()
574 symfile->FindTypes(name, CompilerDeclContext(), 0, searched_files, results); in TEST_F()
583 symfile->FindTypes(name, CompilerDeclContext(), i, searched_files, in TEST_F()
599 symfile->FindTypes(ConstString(), CompilerDeclContext(), 0, searched_files, in TEST_F()
/external/llvm-project/lldb/include/lldb/Core/
DModule.h43 class CompilerDeclContext; variable
306 const CompilerDeclContext &parent_decl_ctx,
369 const CompilerDeclContext &parent_decl_ctx,
448 const CompilerDeclContext &parent_decl_ctx,
1049 ConstString name, const CompilerDeclContext &parent_decl_ctx,
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.h484 CompilerDeclContext DeclGetDeclContext(void *opaque_decl) override;
501 CompilerDeclContext CreateDeclContext(clang::DeclContext *ctx);
526 DeclContextGetAsDeclContext(const CompilerDeclContext &dc);
529 DeclContextGetAsObjCMethodDecl(const CompilerDeclContext &dc);
532 DeclContextGetAsCXXMethodDecl(const CompilerDeclContext &dc);
535 DeclContextGetAsFunctionDecl(const CompilerDeclContext &dc);
538 DeclContextGetAsNamespaceDecl(const CompilerDeclContext &dc);
540 static ClangASTMetadata *DeclContextGetMetaData(const CompilerDeclContext &dc,
544 DeclContextGetTypeSystemClang(const CompilerDeclContext &dc);
673 const CompilerDeclContext &compiler_decl_ctx,
[all …]

123