From 35b305863ad821004f27b97546597c5ba6a65172 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 6 Oct 2009 19:55:53 +0000 Subject: [PATCH] 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 --- lib/Support/CommandLine.cpp | 1 + 1 file changed, 1 insertion(+) 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