[Lldb-commits] [PATCH] D77153: [lldb/DataFormatters] Display null C++ pointers as nullptr
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 11 00:41:01 PST 2020
JDevlieghere added inline comments.
Comment at: lldb/source/DataFormatters/ValueObjectPrinter.cpp:367
+ } else if (IsUninitialized())
If we had a C runtime we could print "NULL", but I don't think it's worth adding that just for this. Another alternative would be to just have a switch based on the `LanguageType`, but that seems like a pretty bad idea from a layering perspective.
CHANGES SINCE LAST ACTION
More information about the lldb-commits