diff options
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r-- | tools/c-index-test/c-index-test.c | 2 |
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 323469c0f0..ef6bfb8a79 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -1306,7 +1306,7 @@ int write_pch_file(const char *filename, int argc, const char *argv[]) { return 1; } - if (clang_saveTranslationUnit(TU, filename)) + if (clang_saveTranslationUnit(TU, filename, clang_defaultSaveOptions(TU))) fprintf(stderr, "Unable to write PCH file %s\n", filename); clang_disposeTranslationUnit(TU); free_remapped_files(unsaved_files, num_unsaved_files); |