aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-09 21:06:06 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-09 21:06:06 +0000
commitd91de2bc0ee43c2da7be2fb879e8919ea74f8afa (patch)
treeb6b7b660f48682c0178a1a887d508d2151232c56
parent7a07fcb8f10fe45ea65a0a41798eb1c40777bde4 (diff)
Fix mixed declarations and code warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110602 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/c-index-test/c-index-test.c2
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 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,