projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3351085
)
Bugfix for the CommaSeparated option. The original code was adding the whole
author
Nicolas Geoffray
<nicolas.geoffray@lip6.fr>
Tue, 6 Oct 2009 19:55:53 +0000
(19:55 +0000)
committer
Nicolas Geoffray
<nicolas.geoffray@lip6.fr>
Tue, 6 Oct 2009 19:55:53 +0000
(19:55 +0000)
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
patch
|
blob
|
history
diff --git
a/lib/Support/CommandLine.cpp
b/lib/Support/CommandLine.cpp
index 187024f143d9f58388894455ae72a225e2ce4703..626daa254dd7b9ea1b13a820adb4bf156f50d401 100644
(file)
--- 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