[Lldb-commits] [lldb] [LLDB] Allow one-line summaries in the presence of synthetic child providers (PR #184926)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 6 08:22:38 PST 2026


================
@@ -526,7 +526,7 @@ bool FormatManager::ShouldPrintAsOneLiner(ValueObject &valobj) {
       if (!synth_sp->MightHaveChildren() &&
           synth_sp->DoesProvideSyntheticValue())
         is_synth_val = true;
-      else
+      else if (synth_sp->MightHaveChildren())
----------------
adrian-prantl wrote:

I took the opportunity to reflow all comments in this function.

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


More information about the lldb-commits mailing list