From: Nicolas Geoffray Date: Tue, 6 Oct 2009 19:55:53 +0000 (+0000) Subject: Bugfix for the CommaSeparated option. The original code was adding the whole X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=35b305863ad821004f27b97546597c5ba6a65172;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83405 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 187024f143d..626daa254dd 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -643,6 +643,7 @@ void cl::ParseCommandLineOptions(int argc, char **argv, // Check for another comma. Pos = Val.find(','); } + Value = Val; } // If this is a named positional argument, just remember that it is the