Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/lldb/source/Symbol/
H A 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 !=()
H A DSymbolFileOnDemand.cpp236 CompilerDeclContext
241 return CompilerDeclContext(); in GetDeclContextForUID()
246 CompilerDeclContext
251 return CompilerDeclContext(); in GetDeclContextContainingUID()
256 void SymbolFileOnDemand::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext()
319 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindGlobalVariables()
378 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindFunctions()
423 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindTypes()
472 CompilerDeclContext
474 const CompilerDeclContext &parent_decl_ctx) { in FindNamespace()
H A DSymbolFile.cpp115 const CompilerDeclContext &parent_decl_ctx, in FindGlobalVariables()
124 const CompilerDeclContext &parent_decl_ctx, in FindFunctions()
138 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindTypes()
H A DTypeSystem.cpp108 const CompilerDeclContext &decl_ctx, in CreateTypedef()
155 CompilerDeclContext TypeSystem::DeclGetDeclContext(void *opaque_decl) { in DeclGetDeclContext()
156 return CompilerDeclContext(); in DeclGetDeclContext()
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A 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);
H A DSymbolFile.h211 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext()
215 virtual CompilerDeclContext GetDeclContextForUID(lldb::user_id_t uid) { in GetDeclContextForUID()
216 return CompilerDeclContext(); in GetDeclContextForUID()
218 virtual CompilerDeclContext GetDeclContextContainingUID(lldb::user_id_t uid) { in GetDeclContextContainingUID()
219 return CompilerDeclContext(); in GetDeclContextContainingUID()
231 const CompilerDeclContext &parent_decl_ctx,
238 const CompilerDeclContext &parent_decl_ctx,
244 FindTypes(ConstString name, const CompilerDeclContext &parent_decl_ctx,
272 virtual CompilerDeclContext
273 FindNamespace(ConstString name, const CompilerDeclContext &parent_decl_ctx) { in FindNamespace()
[all …]
H A DSymbolFileOnDemand.h107 lldb_private::CompilerDeclContext
110 lldb_private::CompilerDeclContext
114 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
130 const lldb_private::CompilerDeclContext &parent_decl_ctx,
139 const lldb_private::CompilerDeclContext &parent_decl_ctx,
154 const lldb_private::CompilerDeclContext &parent_decl_ctx,
171 lldb_private::CompilerDeclContext FindNamespace(
173 const lldb_private::CompilerDeclContext &parent_decl_ctx) override;
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h94 lldb_private::CompilerDeclContext
97 lldb_private::CompilerDeclContext
101 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
114 const lldb_private::CompilerDeclContext &parent_decl_ctx,
123 const lldb_private::CompilerDeclContext &parent_decl_ctx,
140 const lldb_private::CompilerDeclContext &parent_decl_ctx,
160 lldb_private::CompilerDeclContext FindNamespace(
162 const lldb_private::CompilerDeclContext &parent_decl_ctx) override;
195 const lldb_private::CompilerDeclContext &parent_decl_ctx,
242 const lldb_private::CompilerDeclContext &decl_ctx);
H A DSymbolFilePDB.cpp650 lldb_private::CompilerDeclContext
657 return CompilerDeclContext(); in GetDeclContextForUID()
663 return CompilerDeclContext(); in GetDeclContextForUID()
667 return CompilerDeclContext(); in GetDeclContextForUID()
671 return CompilerDeclContext(); in GetDeclContextForUID()
680 lldb_private::CompilerDeclContext
687 return CompilerDeclContext(); in GetDeclContextContainingUID()
693 return CompilerDeclContext(); in GetDeclContextContainingUID()
697 return CompilerDeclContext(); in GetDeclContextContainingUID()
701 return CompilerDeclContext(); in GetDeclContextContainingUID()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.h89 lldb_private::CompilerDeclContext
91 lldb_private::CompilerDeclContext
94 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
106 const lldb_private::CompilerDeclContext &parent_decl_ctx,
113 const lldb_private::CompilerDeclContext &parent_decl_ctx,
122 const lldb_private::CompilerDeclContext &parent_decl_ctx,
131 lldb_private::CompilerDeclContext FindNamespace(
133 const lldb_private::CompilerDeclContext &parent_decl_ctx) override;
255 const lldb_private::CompilerDeclContext &parent_decl_ctx,
H A DSymbolFileDWARF.h153 lldb_private::CompilerDeclContext
156 lldb_private::CompilerDeclContext
160 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
173 const lldb_private::CompilerDeclContext &parent_decl_ctx,
182 const lldb_private::CompilerDeclContext &parent_decl_ctx,
197 const lldb_private::CompilerDeclContext &parent_decl_ctx,
214 lldb_private::CompilerDeclContext FindNamespace(
216 const lldb_private::CompilerDeclContext &parent_decl_ctx) override;
285 DIEInDeclContext(const lldb_private::CompilerDeclContext &parent_decl_ctx,
312 static lldb_private::CompilerDeclContext
[all …]
H A DDWARFASTParser.h46 virtual lldb_private::CompilerDeclContext
49 virtual lldb_private::CompilerDeclContext
53 lldb_private::CompilerDeclContext decl_context) = 0;
H A DDWARFIndex.h58 const CompilerDeclContext &parent_decl_ctx,
79 const CompilerDeclContext &parent_decl_ctx,
H A DSymbolFileDWARFDebugMap.cpp831 ConstString name, const CompilerDeclContext &parent_decl_ctx, in PrivateFindGlobalVariables()
853 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindGlobalVariables()
1007 ConstString name, const CompilerDeclContext &parent_decl_ctx, in FindFunctions()
1194 CompilerDeclContext SymbolFileDWARFDebugMap::FindNamespace( in FindNamespace()
1196 const CompilerDeclContext &parent_decl_ctx) { in FindNamespace()
1198 CompilerDeclContext matching_namespace; in FindNamespace()
1273 CompilerDeclContext
1279 return CompilerDeclContext(); in GetDeclContextForUID()
1282 CompilerDeclContext
1288 return CompilerDeclContext(); in GetDeclContextContainingUID()
[all …]
H A DDWARFASTParserClang.h61 lldb_private::CompilerDeclContext decl_context) override;
63 lldb_private::CompilerDeclContext
66 lldb_private::CompilerDeclContext
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h84 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
106 const CompilerDeclContext &parent_decl_ctx,
115 CompilerDeclContext GetDeclContextForUID(lldb::user_id_t uid) override;
116 CompilerDeclContext GetDeclContextContainingUID(lldb::user_id_t uid) override;
134 const CompilerDeclContext &parent_decl_ctx,
141 void FindTypes(ConstString name, const CompilerDeclContext &parent_decl_ctx,
153 CompilerDeclContext
155 const CompilerDeclContext &parent_decl_ctx) override;
H A DPdbAstBuilder.h56 lldb_private::CompilerDeclContext GetTranslationUnitDecl();
81 CompilerDeclContext ToCompilerDeclContext(clang::DeclContext &context);
83 clang::DeclContext *FromCompilerDeclContext(CompilerDeclContext context);
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.h87 const CompilerDeclContext &parent_decl_ctx, in FindGlobalVariables()
114 const CompilerDeclContext &parent_decl_ctx,
121 void FindTypes(ConstString name, const CompilerDeclContext &parent_decl_ctx,
137 CompilerDeclContext
139 const CompilerDeclContext &parent_decl_ctx) override { in FindNamespace()
140 return CompilerDeclContext(); in FindNamespace()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.h282 const CompilerDeclContext &namespace_decl);
451 const CompilerDeclContext &namespace_decl);
468 const CompilerDeclContext &frame_decl_context);
485 const CompilerDeclContext &namespace_decl);
505 const CompilerDeclContext &namespace_decl);
H A DClangASTSource.cpp555 CompilerDeclContext namespace_decl; in FindExternalVisibleDecls()
598 CompilerDeclContext &namespace_decl) { in FindExternalVisibleDecls()
667 const CompilerDeclContext &namespace_decl) { in FillNamespaceMap()
675 CompilerDeclContext found_namespace_decl; in FillNamespaceMap()
682 std::pair<lldb::ModuleSP, CompilerDeclContext>( in FillNamespaceMap()
696 CompilerDeclContext found_namespace_decl; in FillNamespaceMap()
707 std::pair<lldb::ModuleSP, CompilerDeclContext>(image, in FillNamespaceMap()
1641 CompilerDeclContext found_namespace_decl; in CompleteNamespaceMap()
1644 CompilerDeclContext module_parent_namespace_decl = i->second; in CompleteNamespaceMap()
1664 CompilerDeclContext null_namespace_decl; in CompleteNamespaceMap()
[all …]
H A DClangExpressionDeclMap.cpp637 const CompilerDeclContext &namespace_decl) { in FindGlobalVariable()
701 CompilerDeclContext compiler_decl_ctx = in FindExternalVisibleDecls()
724 CompilerDeclContext namespace_decl; in FindExternalVisibleDecls()
1065 const CompilerDeclContext &namespace_decl) { in LookupLocalVariable()
1069 CompilerDeclContext decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVariable()
1144 const CompilerDeclContext &frame_decl_context) { in SearchFunctionsInSymbolContexts()
1173 CompilerDeclContext func_decl_context = function->GetDeclContext(); in SearchFunctionsInSymbolContexts()
1231 const CompilerDeclContext &namespace_decl) { in LookupFunction()
1283 CompilerDeclContext frame_decl_context = in LookupFunction()
1285 : CompilerDeclContext(); in LookupFunction()
[all …]
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A Dlldb-test.cpp401 Expected<CompilerDeclContext>
404 return CompilerDeclContext(); in getDeclContext()
458 const CompilerDeclContext &ContextPtr = in findFunctions()
459 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findFunctions()
514 const CompilerDeclContext &ContextPtr = in findNamespaces()
515 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findNamespaces()
517 CompilerDeclContext Result = in findNamespaces()
532 const CompilerDeclContext &ContextPtr = in findTypes()
533 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findTypes()
587 const CompilerDeclContext &ContextPtr = in findVariables()
[all …]
/llvm-project-15.0.7/lldb/unittests/SymbolFile/PDB/
H A DSymbolFilePDBTests.cpp367 symfile->FindTypes(ConstString("Class"), CompilerDeclContext(), 0, in TEST_F()
397 symfile->FindTypes(ConstString("Class"), CompilerDeclContext(), 0, in TEST_F()
417 auto ClassCompilerDeclCtx = CompilerDeclContext(clang_ast_ctx, ClassDeclCtx); in TEST_F()
456 symfile->ParseDeclsForContext(CompilerDeclContext( in TEST_F()
459 auto ns_namespace = symfile->FindNamespace(ConstString("NS"), CompilerDeclContext()); in TEST_F()
488 symfile->FindTypes(ConstString(Enum), CompilerDeclContext(), 0, in TEST_F()
537 symfile->FindTypes(ConstString(Typedef), CompilerDeclContext(), 0, in TEST_F()
583 symfile->FindTypes(name, CompilerDeclContext(), 0, searched_files, results); in TEST_F()
592 symfile->FindTypes(name, CompilerDeclContext(), i, searched_files, in TEST_F()
608 symfile->FindTypes(ConstString(), CompilerDeclContext(), 0, searched_files, in TEST_F()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DModule.h44 class CompilerDeclContext; variable
315 const CompilerDeclContext &parent_decl_ctx,
380 const CompilerDeclContext &parent_decl_ctx,
460 const CompilerDeclContext &parent_decl_ctx,
1120 ConstString name, const CompilerDeclContext &parent_decl_ctx,
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h473 CompilerDeclContext DeclGetDeclContext(void *opaque_decl) override;
490 CompilerDeclContext CreateDeclContext(clang::DeclContext *ctx);
515 DeclContextGetAsDeclContext(const CompilerDeclContext &dc);
518 DeclContextGetAsObjCMethodDecl(const CompilerDeclContext &dc);
521 DeclContextGetAsCXXMethodDecl(const CompilerDeclContext &dc);
524 DeclContextGetAsFunctionDecl(const CompilerDeclContext &dc);
527 DeclContextGetAsNamespaceDecl(const CompilerDeclContext &dc);
529 static ClangASTMetadata *DeclContextGetMetaData(const CompilerDeclContext &dc,
533 DeclContextGetTypeSystemClang(const CompilerDeclContext &dc);
714 const CompilerDeclContext &decl_ctx,

123