[Lldb-commits] [PATCH] D19086: [clang-analyzer] fix warnings emitted on lldb code base
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 13 17:41:31 PDT 2016
granata.enrico added a subscriber: granata.enrico.
================
Comment at: source/Core/FormatEntity.cpp:1016
@@ -1015,2 +1015,3 @@
{
- success &= item->DumpPrintableRepresentation(s,val_obj_display, custom_format);
+ if (item)
+ success &= item->DumpPrintableRepresentation(s,val_obj_display, custom_format);
----------------
jasonmolenda wrote:
> Greg should look at this.
Personally, this LGTM (the code was originally written by me - Greg moved it around last though)
Greg, feel free to disagree
http://reviews.llvm.org/D19086
More information about the lldb-commits
mailing list