commit | c95f7e2a7cf103597bf5a002f021c24482a9ecea | [log] [tgz] |
---|---|---|
author | Pavel Labath <labath@google.com> | Fri Feb 20 11:14:59 2015 +0000 |
committer | Pavel Labath <labath@google.com> | Fri Feb 20 11:14:59 2015 +0000 |
tree | bcbcafa94a981a7dcebcdcc1e9f20860c53aedd5 | |
parent | 0c5f05986544df86a3137f856bc370d04d88c11b [diff] [blame] |
Refactor OptionValue::SetValueFromCString to use llvm::StringRef Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7676 llvm-svn: 230005
diff --git a/lldb/source/Interpreter/OptionGroupOutputFile.cpp b/lldb/source/Interpreter/OptionGroupOutputFile.cpp index ec9e166..75ae380 100644 --- a/lldb/source/Interpreter/OptionGroupOutputFile.cpp +++ b/lldb/source/Interpreter/OptionGroupOutputFile.cpp
@@ -62,7 +62,7 @@ switch (short_option) { case 'o': - error = m_file.SetValueFromCString (option_arg); + error = m_file.SetValueFromString (option_arg); break; case SHORT_OPTION_APND: