summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/OptionValueArch.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-17 01:37:42 +0000
committerZachary Turner <zturner@google.com>2016-11-17 01:37:42 +0000
commit4aa8753c8103f1e1988b79325f957a587c150337 (patch)
tree9d6111d7b94f298115f955e82d1b4d7053bb332e /lldb/source/Interpreter/OptionValueArch.cpp
parent004319554cf6044896073b8a305ba9d340ed5f94 (diff)
downloadbcm5719-llvm-4aa8753c8103f1e1988b79325f957a587c150337.tar.gz
bcm5719-llvm-4aa8753c8103f1e1988b79325f957a587c150337.zip
Convert AutoComplete related code to StringRef.
Differential Revision: https://reviews.llvm.org/D26721 llvm-svn: 287188
Diffstat (limited to 'lldb/source/Interpreter/OptionValueArch.cpp')
-rw-r--r--lldb/source/Interpreter/OptionValueArch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionValueArch.cpp b/lldb/source/Interpreter/OptionValueArch.cpp
index 81d458ffe01..3e41300a418 100644
--- a/lldb/source/Interpreter/OptionValueArch.cpp
+++ b/lldb/source/Interpreter/OptionValueArch.cpp
@@ -74,7 +74,7 @@ lldb::OptionValueSP OptionValueArch::DeepCopy() const {
}
size_t OptionValueArch::AutoComplete(CommandInterpreter &interpreter,
- const char *s, int match_start_point,
+ llvm::StringRef s, int match_start_point,
int max_return_elements,
bool &word_complete, StringList &matches) {
word_complete = false;
OpenPOWER on IntegriCloud