[Lldb-commits] [lldb] [lldb][Formatters] Consistently unwrap pointer element_type in std::shared_ptr formatters (PR #147340)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 7 09:49:10 PDT 2025


================
@@ -305,7 +305,7 @@ lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd::Update() {
 llvm::Expected<size_t>
 lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd::
     GetIndexOfChildWithName(ConstString name) {
-  if (name == "__ptr_" || name == "pointer")
+  if (name == "pointer")
----------------
Michael137 wrote:

The `__ptr_` here feels redundant. Happy to do this in a separate PR though.

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


More information about the lldb-commits mailing list