summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/OptionGroupUInt64.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-02-20 11:14:59 +0000
committerPavel Labath <labath@google.com>2015-02-20 11:14:59 +0000
commitc95f7e2a7cf103597bf5a002f021c24482a9ecea (patch)
treebcbcafa94a981a7dcebcdcc1e9f20860c53aedd5 /lldb/source/Interpreter/OptionGroupUInt64.cpp
parent0c5f05986544df86a3137f856bc370d04d88c11b (diff)
downloadbcm5719-llvm-c95f7e2a7cf103597bf5a002f021c24482a9ecea.tar.gz
bcm5719-llvm-c95f7e2a7cf103597bf5a002f021c24482a9ecea.zip
Refactor OptionValue::SetValueFromCString to use llvm::StringRef
Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7676 llvm-svn: 230005
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupUInt64.cpp')
-rw-r--r--lldb/source/Interpreter/OptionGroupUInt64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionGroupUInt64.cpp b/lldb/source/Interpreter/OptionGroupUInt64.cpp
index 440c2a740c2..a922ab25596 100644
--- a/lldb/source/Interpreter/OptionGroupUInt64.cpp
+++ b/lldb/source/Interpreter/OptionGroupUInt64.cpp
@@ -48,7 +48,7 @@ OptionGroupUInt64::SetOptionValue (CommandInterpreter &interpreter,
uint32_t option_idx,
const char *option_arg)
{
- Error error (m_value.SetValueFromCString (option_arg));
+ Error error (m_value.SetValueFromString (option_arg));
return error;
}
OpenPOWER on IntegriCloud