[llvm-commits] CVS: llvm/lib/Support/CommandLine.cpp
Reid Spencer
reid at x10sys.com
Tue Nov 23 22:13:53 PST 2004
Changes in directory llvm/lib/Support:
CommandLine.cpp updated: 1.56 -> 1.57
---
Log message:
Implement and document prefix options with arbitrary values including an
= sign. This needed to support -DNAME=value options as pass-through in
llvmc.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Support/CommandLine.cpp
diff -u llvm/lib/Support/CommandLine.cpp:1.56 llvm/lib/Support/CommandLine.cpp:1.57
--- llvm/lib/Support/CommandLine.cpp:1.56 Sat Nov 20 17:35:20 2004
+++ llvm/lib/Support/CommandLine.cpp Wed Nov 24 00:13:42 2004
@@ -397,7 +397,7 @@
Handler = LookupOption(ArgName, Value);
// Check to see if this "option" is really a prefixed or grouped argument.
- if (Handler == 0 && *Value == 0) {
+ if (Handler == 0) {
std::string RealName(ArgName);
if (RealName.size() > 1) {
unsigned Length = 0;
More information about the llvm-commits
mailing list