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;
 }


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to