diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-03 23:41:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-03 23:41:12 +0000 |
commit | 4814fb560322daf009fda6226cffccb10bd44620 (patch) | |
tree | c1ef5ce5c613b5ed518ce0aac98ad300fd511cfe /tools/c-index-test/c-index-test.c | |
parent | 2100fe952a644134b1dca462f2e6330cf14ef47c (diff) |
If any Fix-Its attached to a diagnostic have invalid source locations
or source locations that refer into a macro instantiation, delete all
of the Fix-Its on that diagnostic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124833 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.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 8c87d37651..d4e567d9e2 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -683,7 +683,7 @@ int perform_test_load_source(int argc, const char **argv, Idx = clang_createIndex(/* excludeDeclsFromPCH */ (!strcmp(filter, "local") || !strcmp(filter, "local-display"))? 1 : 0, - /* displayDiagnosics=*/1); + /* displayDiagnosics=*/0); if (parse_remapped_files(argc, argv, 0, &unsaved_files, &num_unsaved_files)) { clang_disposeIndex(Idx); |