aboutsummaryrefslogtreecommitdiff
path: root/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-19 23:44:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-19 23:44:04 +0000
commit43f331d0fdacb343749dd1d6f84617c2b60c3d5b (patch)
tree9b7010e36adc1076f489174134bdca332a4ac73b /tools/c-index-test/c-index-test.c
parent57b5b4aee9f8e0bc20e142250a3109ed2e057b45 (diff)
c-index-test: As with reparse, only honor remapped false during the code
completion step with -code-completion-at=, to allow testing simulated source changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111579 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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index 2c4a3386df..8567d73fa0 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/tools/c-index-test/c-index-test.c
@@ -899,9 +899,7 @@ int perform_code_completion(int argc, const char **argv, int timing_only) {
TU = clang_parseTranslationUnit(CIdx, 0,
argv + num_unsaved_files + 2,
argc - num_unsaved_files - 2,
- unsaved_files,
- num_unsaved_files,
- getDefaultParsingOptions());
+ 0, 0, getDefaultParsingOptions());
for (I = 0; I != Repeats; ++I) {
results = clang_codeCompleteAt(TU, filename, line, column,
unsaved_files, num_unsaved_files,