diff options
author | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2009-10-06 19:55:53 +0000 |
---|---|---|
committer | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2009-10-06 19:55:53 +0000 |
commit | 08506ee6b0c40938552d0555ce1e0cbd38f1b160 (patch) | |
tree | 128a0d976f74203f4ca1d79ff5f595c2c3f4c14c /llvm/lib/Support | |
parent | 2275a7dfef85b1d747e362de12cc9f7110991e74 (diff) | |
download | bcm5719-llvm-08506ee6b0c40938552d0555ce1e0cbd38f1b160.tar.gz bcm5719-llvm-08506ee6b0c40938552d0555ce1e0cbd38f1b160.zip |
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-svn: 83405
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 187024f143d..626daa254dd 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/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 |