[Lldb-commits] [lldb] Make only one function that needs to be implemented when searching for types (PR #74786)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 11 06:27:36 PST 2023


================
@@ -146,6 +133,9 @@ class TypeSystem : public PluginInterface,
   virtual CompilerDeclContext
   GetCompilerDeclContextForType(const CompilerType &type);
 
+  virtual std::vector<lldb_private::CompilerContext>
+  DeclContextGetCompilerContext(void *opaque_decl_ctx);
----------------
Michael137 wrote:

could this function be marked `const`?

https://github.com/llvm/llvm-project/pull/74786


More information about the lldb-commits mailing list