[Lldb-commits] [lldb] [lldb] Add completion support for direct ivars (PR #195187)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 7 15:55:53 PDT 2026
================
@@ -475,6 +476,27 @@ static void PrivateAutoComplete(
&prefix_path, // Anything that has been resolved already will be in here
const CompilerType &compiler_type, CompletionRequest &request);
+/// Get the CompilerType of the instance variable (this/self) for direct ivar
+/// completion. Returns an invalid CompilerType if not in a method context.
+static CompilerType GetInstanceVariableType(StackFrame &frame,
----------------
jimingham wrote:
BTW, Wikipedia agrees with me about the definition of "Instance Variable":
https://en.wikipedia.org/wiki/Instance_variable
https://github.com/llvm/llvm-project/pull/195187
More information about the lldb-commits
mailing list