summaryrefslogtreecommitdiffstats
path: root/llvm/support/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-23 19:27:24 +0000
committerChris Lattner <sabre@nondot.org>2001-07-23 19:27:24 +0000
commitab0cc40796935e2bfe02ed9b3e90a055a3780b87 (patch)
tree2ccf966631e1edfc17edf1c791f43abeffa11a4d /llvm/support/lib/Support/CommandLine.cpp
parent0d005997fd4de32776e4a97c81212a64b5475fa3 (diff)
downloadbcm5719-llvm-ab0cc40796935e2bfe02ed9b3e90a055a3780b87.tar.gz
bcm5719-llvm-ab0cc40796935e2bfe02ed9b3e90a055a3780b87.zip
CommandLine library cleanup. No longer use getValue/setValue, instead, just treat the commandline
args as the objects they represent and the "right thing" will happen llvm-svn: 283
Diffstat (limited to 'llvm/support/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/support/lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/support/lib/Support/CommandLine.cpp b/llvm/support/lib/Support/CommandLine.cpp
index 7c3f29305e9..c7590aba194 100644
--- a/llvm/support/lib/Support/CommandLine.cpp
+++ b/llvm/support/lib/Support/CommandLine.cpp
@@ -189,7 +189,7 @@ bool Int::handleOccurance(const char *ArgName, const string &Arg) {
// String valued command line option implementation
//
bool String::handleOccurance(const char *ArgName, const string &Arg) {
- Value = Arg;
+ *this = Arg;
return false;
}
OpenPOWER on IntegriCloud