[Lldb-commits] [PATCH] D151384: [lldb] Override GetVariable in ValueObjectSynthetic (NFC)

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 31 08:19:48 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7578672c96e1: [lldb] Override GetVariable in ValueObjectSynthetic (NFC) (authored by kastiglione).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151384/new/

https://reviews.llvm.org/D151384

Files:
  lldb/include/lldb/Core/ValueObjectSyntheticFilter.h


Index: lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
===================================================================
--- lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
+++ lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
@@ -82,6 +82,10 @@
                                   : lldb::eNoDynamicValues);
   }
 
+  lldb::VariableSP GetVariable() override {
+    return m_parent != nullptr ? m_parent->GetVariable() : nullptr;
+  }
+
   ValueObject *GetParent() override {
     return ((m_parent != nullptr) ? m_parent->GetParent() : nullptr);
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151384.527053.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230531/6803c9d5/attachment.bin>


More information about the lldb-commits mailing list