From ce79bc9c7a3b374de6f4a7796ab525b7559868f2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 16 Feb 2010 01:55:10 +0000 Subject: [PATCH] c-index-test: Pass appropriate client data. llvm-svn: 96317 --- clang/tools/c-index-test/c-index-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c index 543e444dbfcd..d4771c77f503 100644 --- a/clang/tools/c-index-test/c-index-test.c +++ b/clang/tools/c-index-test/c-index-test.c @@ -41,7 +41,7 @@ static void PrintExtent(FILE *out, unsigned begin_line, unsigned begin_column, 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;