From ab0cc40796935e2bfe02ed9b3e90a055a3780b87 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 23 Jul 2001 19:27:24 +0000 Subject: 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 --- llvm/lib/Support/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/CommandLine.cpp') diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 7c3f29305e9..c7590aba194 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/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; } -- cgit v1.2.3