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 | 0d3d0b7489a182ef1892b9df8468be4621b83c60 (patch) | |
| tree | 443d8f360254ef8bc32bc5b66dc363546c1e3978 /clang/tools | |
| parent | 16c880f0807550bc95c048f581d73def4e86b8ee (diff) | |
| download | bcm5719-llvm-0d3d0b7489a182ef1892b9df8468be4621b83c60.tar.gz bcm5719-llvm-0d3d0b7489a182ef1892b9df8468be4621b83c60.zip | |
perform_code_completion(): fix type declaration for TU.
llvm-svn: 115224
Diffstat (limited to 'clang/tools')
| -rw-r--r-- | clang/tools/c-index-test/c-index-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c index 4d4e1176208..874c73282c8 100644 --- a/clang/tools/c-index-test/c-index-test.c +++ b/clang/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="); |

