From fcf0c4e31a0692199cc47751939d813940c1cbbb Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Thu, 31 Oct 2013 22:42:00 +0000 Subject: Further fixes to the dynamic type system prompted by ObjCDataFormatterTestCase.test_nserror_with_dsym_and_run_command llvm-svn: 193818 --- lldb/source/DataFormatters/ValueObjectPrinter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lldb/source/DataFormatters/ValueObjectPrinter.cpp') 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(); -- cgit v1.2.3