diff options
author | Pavel Labath <labath@google.com> | 2015-02-20 11:14:59 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-02-20 11:14:59 +0000 |
commit | c95f7e2a7cf103597bf5a002f021c24482a9ecea (patch) | |
tree | bcbcafa94a981a7dcebcdcc1e9f20860c53aedd5 /lldb/source/Interpreter/OptionGroupBoolean.cpp | |
parent | 0c5f05986544df86a3137f856bc370d04d88c11b (diff) | |
download | bcm5719-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/OptionGroupBoolean.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionGroupBoolean.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionGroupBoolean.cpp b/lldb/source/Interpreter/OptionGroupBoolean.cpp index 0c502cc364b..6bd2743a668 100644 --- a/lldb/source/Interpreter/OptionGroupBoolean.cpp +++ b/lldb/source/Interpreter/OptionGroupBoolean.cpp @@ -56,7 +56,7 @@ OptionGroupBoolean::SetOptionValue (CommandInterpreter &interpreter, } else { - error = m_value.SetValueFromCString (option_arg); + error = m_value.SetValueFromString (option_arg); } return error; } |