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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-07-23 19:27:24 +00:00
parent b49ff5c5ee
commit 1e78f36127
13 changed files with 130 additions and 143 deletions

View File

@ -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;
}