]> granicus.if.org Git - clang/commitdiff
c-index-test: As with reparse, only honor remapped false during the code
authorDaniel Dunbar <daniel@zuster.org>
Thu, 19 Aug 2010 23:44:04 +0000 (23:44 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 19 Aug 2010 23:44:04 +0000 (23:44 +0000)
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

tools/c-index-test/c-index-test.c

index 2c4a3386df9e263b48774234b534f639a0f06a3c..8567d73fa02710c7549e71b281e5c0dee9d680bc 100644 (file)
@@ -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,