[cfe-commits] r111579 - /cfe/trunk/tools/c-index-test/c-index-test.c

Daniel Dunbar daniel at zuster.org
Thu Aug 19 16:44:04 PDT 2010


Author: ddunbar
Date: Thu Aug 19 18:44:04 2010
New Revision: 111579

URL: http://llvm.org/viewvc/llvm-project?rev=111579&view=rev
Log:
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.

Modified:
    cfe/trunk/tools/c-index-test/c-index-test.c

Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=111579&r1=111578&r2=111579&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Thu Aug 19 18:44:04 2010
@@ -899,9 +899,7 @@
     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,





More information about the cfe-commits mailing list