aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/OptionGroupOutputFile.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/OptionGroupOutputFile.cpp
parent0c5f05986544df86a3137f856bc370d04d88c11b (diff)
downloadllvm-c95f7e2a7cf103597bf5a002f021c24482a9ecea.zip
llvm-c95f7e2a7cf103597bf5a002f021c24482a9ecea.tar.gz
llvm-c95f7e2a7cf103597bf5a002f021c24482a9ecea.tar.bz2
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/OptionGroupOutputFile.cpp')
-rw-r--r--lldb/source/Interpreter/OptionGroupOutputFile.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ OptionGroupOutputFile::SetOptionValue (CommandInterpreter &interpreter,
switch (short_option)
{
case 'o':
- error = m_file.SetValueFromCString (option_arg);
+ error = m_file.SetValueFromString (option_arg);
break;
case SHORT_OPTION_APND: