зеркало из https://github.com/microsoft/clang.git
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:
Родитель
c2a7a2b863
Коммит
25d9b00ab0
|
@ -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=");
|
||||
|
|
Загрузка…
Ссылка в новой задаче