From: Argyrios Kyrtzidis Date: Tue, 9 Apr 2013 20:29:24 +0000 (+0000) Subject: [c-index-test] Enable 'display diagnostics' when using the -test-load functionality. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcc8a5a70a0acb484f8772bb09d973615d3e1ade;p=platform%2Fupstream%2Fllvm.git [c-index-test] Enable 'display diagnostics' when using the -test-load functionality. llvm-svn: 179123 --- diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c index 88b49ed..ce9e491 100644 --- a/clang/tools/c-index-test/c-index-test.c +++ b/clang/tools/c-index-test/c-index-test.c @@ -1256,7 +1256,7 @@ int perform_test_load_source(int argc, const char **argv, Idx = clang_createIndex(/* excludeDeclsFromPCH */ (!strcmp(filter, "local") || !strcmp(filter, "local-display"))? 1 : 0, - /* displayDiagnostics=*/0); + /* displayDiagnostics=*/1); if ((CommentSchemaFile = parse_comments_schema(argc, argv))) { argc--; @@ -1301,7 +1301,7 @@ int perform_test_reparse_source(int argc, const char **argv, int trials, Idx = clang_createIndex(/* excludeDeclsFromPCH */ !strcmp(filter, "local") ? 1 : 0, - /* displayDiagnostics=*/0); + /* displayDiagnostics=*/1); if (parse_remapped_files(argc, argv, 0, &unsaved_files, &num_unsaved_files)) { clang_disposeIndex(Idx);