diff options
Diffstat (limited to 'llvm/support/lib/Support')
-rw-r--r-- | llvm/support/lib/Support/CommandLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/support/lib/Support/CommandLine.cpp b/llvm/support/lib/Support/CommandLine.cpp index 194dd33b27e..c3f18bd1528 100644 --- a/llvm/support/lib/Support/CommandLine.cpp +++ b/llvm/support/lib/Support/CommandLine.cpp @@ -346,7 +346,7 @@ bool EnumValueBase::handleOccurance(const char *ArgName, const string &Arg) { return error(": unrecognized alternative '" + Arg + "'! Alternatives are: " + Alternatives); } - Value = ValueMap[i].second.first; + setValue(ValueMap[i].second.first); return false; } |