r179123 - [c-index-test] Enable 'display diagnostics' when using the -test-load functionality.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Tue Apr 9 13:29:25 PDT 2013
Author: akirtzidis
Date: Tue Apr 9 15:29:24 2013
New Revision: 179123
URL: http://llvm.org/viewvc/llvm-project?rev=179123&view=rev
Log:
[c-index-test] Enable 'display diagnostics' when using the -test-load functionality.
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=179123&r1=179122&r2=179123&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Tue Apr 9 15:29:24 2013
@@ -1256,7 +1256,7 @@ int perform_test_load_source(int argc, c
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
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);
More information about the cfe-commits
mailing list