From: Daniel Dunbar Date: Thu, 19 Aug 2010 23:44:04 +0000 (+0000) Subject: c-index-test: As with reparse, only honor remapped false during the code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43f331d0fdacb343749dd1d6f84617c2b60c3d5b;p=clang 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 --- 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,