aboutsummaryrefslogtreecommitdiff
path: root/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-16 01:55:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-16 01:55:10 +0000
commit9715082c882617eee831af51979c332ab0e71f0d (patch)
tree916a62f176688dd1e5e691333341b79329cb49c9 /tools/c-index-test/c-index-test.c
parentb26d483a9f7fdc815e87bbbac4af916307b4c07d (diff)
c-index-test: Pass appropriate client data.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r--tools/c-index-test/c-index-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index 543e444dbf..d4771c77f5 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/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;