================
@@ -1784,6 +1787,17 @@ static void 
LoadMsvcStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
           stl_summary_flags,
           MsvcStlStringSummaryProvider<StringElementType::UTF32>,
           "MSVC STL std::u32string summary provider"));
+
+  stl_summary_flags.SetDontShowChildren(false);
----------------
Michael137 wrote:

What happens if you don't set this? I think we probably do want this to be 
`true`? Would that make `std::atomic` look like:
```
(std::atomic<int>) val = 5
```
?

(i.e., just not print the synthetic child?)

I know that's not what libc++/libstdc++ does, but we probably should?

https://github.com/llvm/llvm-project/pull/149801
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to