From d91de2bc0ee43c2da7be2fb879e8919ea74f8afa Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 9 Aug 2010 21:06:06 +0000 Subject: [PATCH] Fix mixed declarations and code warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110602 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/c-index-test/c-index-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index db897b3a50..c3ef794235 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -890,13 +890,13 @@ int perform_code_completion(int argc, const char **argv, int timing_only) { CIdx = clang_createIndex(0, 1); if (getenv("CINDEXTEST_EDITING")) { + unsigned I, Repeats = 5; TU = clang_parseTranslationUnit(CIdx, 0, argv + num_unsaved_files + 2, argc - num_unsaved_files - 2, unsaved_files, num_unsaved_files, getDefaultParsingOptions()); - unsigned I, Repeats = 5; for (I = 0; I != Repeats; ++I) { results = clang_codeCompleteAt(TU, filename, line, column, unsaved_files, num_unsaved_files, -- 2.40.0