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

Will Hawkins via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 8 23:20:03 PST 2023


================
@@ -84,6 +84,13 @@ class CompilerDecl {
   // based argument index
   CompilerType GetFunctionArgumentType(size_t arg_idx) const;
 
+  /// Populate a valid compiler context from the current declaration.
+  ///
+  /// \returns A valid vector of CompilerContext entries that describes
+  /// this declaration. The first entry in the vector is the parent of
+  /// the subsequent entry, so the top most entry is the global namespace.
----------------
hawkinsw wrote:

```suggestion
  /// the subsequent entry, so the topmost entry is the global namespace.
```

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


More information about the lldb-commits mailing list