[cfe-commits] r142354 - /cfe/trunk/tools/c-index-test/c-index-test.c

Argyrios Kyrtzidis akyrtzi at gmail.com
Tue Oct 18 08:13:14 PDT 2011


Author: akirtzidis
Date: Tue Oct 18 10:13:14 2011
New Revision: 142354

URL: http://llvm.org/viewvc/llvm-project?rev=142354&view=rev
Log:
[libclang] When printing the diagnostic print it with a new line.

Modified:
    cfe/trunk/tools/c-index-test/c-index-test.c

Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=142354&r1=142353&r2=142354&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Tue Oct 18 10:13:14 2011
@@ -1620,7 +1620,7 @@
 
   str = clang_formatDiagnostic(diag, clang_defaultDiagnosticDisplayOptions());
   cstr = clang_getCString(str);
-  printf("diagnostic: %s", cstr);
+  printf("diagnostic: %s\n", cstr);
   clang_disposeString(str);  
 }
 





More information about the cfe-commits mailing list