diff options
author | Dawn Perchik <dawn@burble.org> | 2010-09-30 22:26:05 +0000 |
---|---|---|
committer | Dawn Perchik <dawn@burble.org> | 2010-09-30 22:26:05 +0000 |
commit | 25d9b00ab0b128d651d993c38726a00cd9969124 (patch) | |
tree | 303b16359e73da9b1c9a99137418c51de32e2ad3 /tools/c-index-test/c-index-test.c | |
parent | c2a7a2b863a688eb8676cff77747b79f517f669d (diff) |
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
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r-- | tools/c-index-test/c-index-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 4d4e117620..874c73282c 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -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="); |