perform_code_completion(): fix type declaration for TU.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dawn Perchik 2010-09-30 22:26:05 +00:00
Родитель c2a7a2b863
Коммит 25d9b00ab0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -980,7 +980,7 @@ int perform_code_completion(int argc, const char **argv, int timing_only) {
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=");