summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/OptionValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/OptionValue.cpp')
-rw-r--r--lldb/source/Interpreter/OptionValue.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/source/Interpreter/OptionValue.cpp b/lldb/source/Interpreter/OptionValue.cpp
index bacdbc59791..446fb8e656d 100644
--- a/lldb/source/Interpreter/OptionValue.cpp
+++ b/lldb/source/Interpreter/OptionValue.cpp
@@ -573,9 +573,10 @@ bool OptionValue::DumpQualifiedName(Stream &strm) const {
return dumped_something;
}
-size_t OptionValue::AutoComplete(CommandInterpreter &interpreter, const char *s,
- int match_start_point, int max_return_elements,
- bool &word_complete, StringList &matches) {
+size_t OptionValue::AutoComplete(CommandInterpreter &interpreter,
+ llvm::StringRef s, int match_start_point,
+ int max_return_elements, bool &word_complete,
+ StringList &matches) {
word_complete = false;
matches.Clear();
return matches.GetSize();
OpenPOWER on IntegriCloud