From cd6dcb3434d77b1f652416f2b5c3c62394f1472c Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Tue, 9 Apr 2013 20:29:24 +0000 Subject: [c-index-test] Enable 'display diagnostics' when using the -test-load functionality. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179123 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/c-index-test/c-index-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/c-index-test') diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 88b49edaaf..ce9e4910ae 100644 --- a/tools/c-index-test/c-index-test.c +++ b/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); -- cgit v1.2.3