[Lldb-commits] [lldb] r180156 - Closing parentheses is good - doing it while respecting printf format specifiers is even better

Enrico Granata egranata at apple.com
Tue Apr 23 15:38:25 PDT 2013


Author: enrico
Date: Tue Apr 23 17:38:25 2013
New Revision: 180156

URL: http://llvm.org/viewvc/llvm-project?rev=180156&view=rev
Log:
Closing parentheses is good - doing it while respecting printf format specifiers is even better

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

Modified: lldb/trunk/source/DataFormatters/Cocoa.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/Cocoa.cpp?rev=180156&r1=180155&r2=180156&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/Cocoa.cpp (original)
+++ lldb/trunk/source/DataFormatters/Cocoa.cpp Tue Apr 23 17:38:25 2013
@@ -340,7 +340,7 @@ lldb_private::formatters::NSNumberSummar
                     stream.Printf("(long)%" PRId64,value);
                     break;
                 default:
-                    stream.Printf("unexpected value:(info=%" PRIu64 ", value=%)" PRIu64,i_bits,value);
+                    stream.Printf("unexpected value:(info=%" PRIu64 ", value=%" PRIu64 ")",i_bits,value);
                     break;
             }
             return true;





More information about the lldb-commits mailing list