[cfe-commits] r84422 - /cfe/trunk/tools/CIndex/CIndex.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Oct 18 09:52:07 PDT 2009
Author: d0k
Date: Sun Oct 18 11:52:07 2009
New Revision: 84422
URL: http://llvm.org/viewvc/llvm-project?rev=84422&view=rev
Log:
CIndex: fix typo.
Modified:
cfe/trunk/tools/CIndex/CIndex.cpp
Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=84422&r1=84421&r2=84422&view=diff
==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Sun Oct 18 11:52:07 2009
@@ -370,7 +370,7 @@
// Generate a temporary name for the AST file.
char astTmpFile[L_tmpnam];
argv.push_back(tmpnam(astTmpFile));
- for (int i = num_command_line_args; i < num_command_line_args; i++)
+ for (int i = 0; i < num_command_line_args; i++)
argv.push_back(command_line_args[i]);
argv.push_back(NULL);
More information about the cfe-commits
mailing list