[cfe-commits] r67677 - /cfe/trunk/lib/Driver/Arg.cpp
Daniel Dunbar
daniel at zuster.org
Tue Mar 24 22:23:40 PDT 2009
Author: ddunbar
Date: Wed Mar 25 00:23:40 2009
New Revision: 67677
URL: http://llvm.org/viewvc/llvm-project?rev=67677&view=rev
Log:
Driver: Fix typo in JoinedAndSeparateArg::render.
Modified:
cfe/trunk/lib/Driver/Arg.cpp
Modified: cfe/trunk/lib/Driver/Arg.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Arg.cpp?rev=67677&r1=67676&r2=67677&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Arg.cpp (original)
+++ cfe/trunk/lib/Driver/Arg.cpp Wed Mar 25 00:23:40 2009
@@ -179,7 +179,7 @@
void JoinedAndSeparateArg::render(const ArgList &Args,
ArgStringList &Output) const {
Output.push_back(Args.getArgString(getIndex()));
- Output.push_back(Args.getArgString(getIndex()) + 1);
+ Output.push_back(Args.getArgString(getIndex() + 1));
}
const char *JoinedAndSeparateArg::getValue(const ArgList &Args,
More information about the cfe-commits
mailing list