summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectSettings.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-12 16:56:47 +0000
committerZachary Turner <zturner@google.com>2016-11-12 16:56:47 +0000
commitfe11483b57c1dc6a6758725e6de0d6804ec59ed1 (patch)
treeaf50255449e1a57e1a528735cfa3458a5e9e66d2 /lldb/source/Commands/CommandObjectSettings.cpp
parentc351fb16079ae8c88e868960829107a823a86246 (diff)
downloadbcm5719-llvm-fe11483b57c1dc6a6758725e6de0d6804ec59ed1.tar.gz
bcm5719-llvm-fe11483b57c1dc6a6758725e6de0d6804ec59ed1.zip
Make Options::SetOptionValue take a StringRef.
llvm-svn: 286723
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp
index 21a636f08dd..54efead2070 100644
--- a/lldb/source/Commands/CommandObjectSettings.cpp
+++ b/lldb/source/Commands/CommandObjectSettings.cpp
@@ -101,7 +101,7 @@ insert-before or insert-after.");
~CommandOptions() override = default;
- Error SetOptionValue(uint32_t option_idx, const char *option_arg,
+ Error SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
ExecutionContext *execution_context) override {
Error error;
const int short_option = m_getopt_table[option_idx].val;
OpenPOWER on IntegriCloud