[Lldb-commits] [clang] [lldb] [C++20] [Modules] Support module level lookup (PR #122887)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 14 08:31:46 PST 2025


================
@@ -145,12 +146,17 @@ class ExternalASTSource : public RefCountedBase<ExternalASTSource> {
   /// Find all declarations with the given name in the given context,
   /// and add them to the context by calling SetExternalVisibleDeclsForName
   /// or SetNoExternalVisibleDeclsForName.
+  /// \param NamedModule, when this is set the external module local
+  /// declarations within the same module of \param NamedModule will be found
+  /// too. The \param NamedModule may be different than the owning module of
+  /// \param DC since the same namespace can appear in multiple module units.
----------------
Michael137 wrote:

Great thanks! That all makes sense to me now

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


More information about the lldb-commits mailing list