summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-27 18:02:58 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-27 18:02:58 +0000
commitffd6dc432ef7177d764c6d23ec32bbbf45e96d89 (patch)
tree287e64818d33bfc9a25324fae82933f8f5959375 /clang/tools/c-index-test/c-index-test.c
parent3b266a2780bdfccabce3840b92b7e84f6dd1872e (diff)
downloadbcm5719-llvm-ffd6dc432ef7177d764c6d23ec32bbbf45e96d89.tar.gz
bcm5719-llvm-ffd6dc432ef7177d764c6d23ec32bbbf45e96d89.zip
Teach ASTUnit to save the specified target features, since
TargetInfo::CreateTargetInfo() mangles the target options in a way that is not idempotent. Fixes <rdar://problem/8807535>. llvm-svn: 124382
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r--clang/tools/c-index-test/c-index-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c
index be3a0795984..808f4e96171 100644
--- a/clang/tools/c-index-test/c-index-test.c
+++ b/clang/tools/c-index-test/c-index-test.c
@@ -720,7 +720,7 @@ int perform_test_reparse_source(int argc, const char **argv, int trials,
Idx = clang_createIndex(/* excludeDeclsFromPCH */
!strcmp(filter, "local") ? 1 : 0,
- /* displayDiagnosics=*/1);
+ /* displayDiagnosics=*/0);
if (parse_remapped_files(argc, argv, 0, &unsaved_files, &num_unsaved_files)) {
clang_disposeIndex(Idx);
OpenPOWER on IntegriCloud