summaryrefslogtreecommitdiffstats
path: root/llvm/support/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
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