[Lldb-commits] [lldb] r191869 - <rdar://problem/15118409>

Enrico Granata egranata at apple.com
Wed Oct 2 19:06:02 PDT 2013


Author: enrico
Date: Wed Oct  2 21:06:02 2013
New Revision: 191869

URL: http://llvm.org/viewvc/llvm-project?rev=191869&view=rev
Log:
<rdar://problem/15118409>

Fix an issue with the new ValueObjectPrinter where in some cases spurious \n would be printed


Modified:
    lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp

Modified: lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp?rev=191869&r1=191868&r2=191869&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp (original)
+++ lldb/trunk/source/DataFormatters/ValueObjectPrinter.cpp Wed Oct  2 21:06:02 2013
@@ -88,8 +88,8 @@ ValueObjectPrinter::PrintValueObject ()
 
     if (val_summary_ok)
         PrintChildrenIfNeeded (value_printed, summary_printed);
-    
-    m_stream->EOL();
+    else
+        m_stream->EOL();
     
     return true;
 }





More information about the lldb-commits mailing list