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

Daniel Dunbar daniel at zuster.org
Mon Feb 15 17:55:10 PST 2010


Author: ddunbar
Date: Mon Feb 15 19:55:10 2010
New Revision: 96317

URL: http://llvm.org/viewvc/llvm-project?rev=96317&view=rev
Log:
c-index-test: Pass appropriate client data.

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=96317&r1=96316&r2=96317&view=diff

==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Mon Feb 15 19:55:10 2010
@@ -41,7 +41,7 @@
 static unsigned CreateTranslationUnit(CXIndex Idx, const char *file,
                                       CXTranslationUnit *TU) {
   
-  *TU = clang_createTranslationUnit(Idx, file, PrintDiagnosticCallback, 0);
+  *TU = clang_createTranslationUnit(Idx, file, PrintDiagnosticCallback, stderr);
   if (!TU) {
     fprintf(stderr, "Unable to load translation unit from '%s'!\n", file);
     return 0;





More information about the cfe-commits mailing list