[cfe-commits] r115224 - /cfe/trunk/tools/c-index-test/c-index-test.c
Dawn Perchik
dawn at burble.org
Thu Sep 30 15:26:05 PDT 2010
Author: dperchik
Date: Thu Sep 30 17:26:05 2010
New Revision: 115224
URL: http://llvm.org/viewvc/llvm-project?rev=115224&view=rev
Log:
perform_code_completion(): fix type declaration for TU.
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=115224&r1=115223&r2=115224&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Thu Sep 30 17:26:05 2010
@@ -980,7 +980,7 @@
struct CXUnsavedFile *unsaved_files = 0;
int num_unsaved_files = 0;
CXCodeCompleteResults *results = 0;
- CXTranslationUnit *TU = 0;
+ CXTranslationUnit TU = 0;
if (timing_only)
input += strlen("-code-completion-timing=");
More information about the cfe-commits
mailing list