[cfe-commits] r110602 - /cfe/trunk/tools/c-index-test/c-index-test.c
Daniel Dunbar
daniel at zuster.org
Mon Aug 9 14:06:06 PDT 2010
Author: ddunbar
Date: Mon Aug 9 16:06:06 2010
New Revision: 110602
URL: http://llvm.org/viewvc/llvm-project?rev=110602&view=rev
Log:
Fix mixed declarations and code warning.
Modified:
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=110602&r1=110601&r2=110602&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Mon Aug 9 16:06:06 2010
@@ -890,13 +890,13 @@
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,
More information about the cfe-commits
mailing list