[llvm-commits] [llvm] r83405 - /llvm/trunk/lib/Support/CommandLine.cpp
nicolas.geoffray at lip6.fr
Tue Oct 6 12:55:54 PDT 2009
Date: Tue Oct 6 14:55:53 2009
New Revision: 83405
Bugfix for the CommaSeparated option. The original code was adding the whole
string at the end of the list, instead of the last comma-separated string.
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Tue Oct 6 14:55:53 2009
@@ -643,6 +643,7 @@
// Check for another comma.
Pos = Val.find(',');
+ Value = Val;
// If this is a named positional argument, just remember that it is the
More information about the llvm-commits