summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/ValueObjectPrinter.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-10-31 22:42:00 +0000
committerEnrico Granata <egranata@apple.com>2013-10-31 22:42:00 +0000
commitfcf0c4e31a0692199cc47751939d813940c1cbbb (patch)
tree15f92f0761864401ad7eafd9f717c44d881b65af /lldb/source/DataFormatters/ValueObjectPrinter.cpp
parent74329d6cff36eaf0e2b527620d127f225a10d528 (diff)
downloadbcm5719-llvm-fcf0c4e31a0692199cc47751939d813940c1cbbb.tar.gz
bcm5719-llvm-fcf0c4e31a0692199cc47751939d813940c1cbbb.zip
Further fixes to the dynamic type system prompted by ObjCDataFormatterTestCase.test_nserror_with_dsym_and_run_command
llvm-svn: 193818
Diffstat (limited to 'lldb/source/DataFormatters/ValueObjectPrinter.cpp')
-rw-r--r--lldb/source/DataFormatters/ValueObjectPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/DataFormatters/ValueObjectPrinter.cpp b/lldb/source/DataFormatters/ValueObjectPrinter.cpp
index 93d7a05e481..5c7f48b600b 100644
--- a/lldb/source/DataFormatters/ValueObjectPrinter.cpp
+++ b/lldb/source/DataFormatters/ValueObjectPrinter.cpp
@@ -422,8 +422,7 @@ ValueObjectPrinter::ShouldPrintChildren (bool is_failed_description,
curr_ptr_depth = 1;
}
- if (curr_ptr_depth == 0)
- return false;
+ return (curr_ptr_depth > 0);
}
TypeSummaryImpl* entry = GetSummaryFormatter();
OpenPOWER on IntegriCloud