[Lldb-commits] [lldb] [lldb] Condense formatter output for null smart pointers (PR #205931)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 29 16:48:29 PDT 2026
================
@@ -22,11 +22,15 @@ def do_test(self):
"sp_empty",
type="std::shared_ptr<int>",
summary="nullptr",
- children=[ValueCheck(name="pointer")],
)
+ self.assertEqual(valobj.GetNumChildren(), 0)
----------------
jimingham wrote:
This still seems like a fragile way to get to "hidden" children. The formatter gave them a name when it made them, why can't it look it up by name?
https://github.com/llvm/llvm-project/pull/205931
More information about the lldb-commits
mailing list