Convert AutoComplete related code to StringRef.
Differential Revision: https://reviews.llvm.org/D26721
llvm-svn: 287188
diff --git a/lldb/source/Interpreter/OptionValueFormatEntity.cpp b/lldb/source/Interpreter/OptionValueFormatEntity.cpp
index 29c3b40..03f077c 100644
--- a/lldb/source/Interpreter/OptionValueFormatEntity.cpp
+++ b/lldb/source/Interpreter/OptionValueFormatEntity.cpp
@@ -108,7 +108,7 @@
}
size_t OptionValueFormatEntity::AutoComplete(
- CommandInterpreter &interpreter, const char *s, int match_start_point,
+ CommandInterpreter &interpreter, llvm::StringRef s, int match_start_point,
int max_return_elements, bool &word_complete, StringList &matches) {
return FormatEntity::AutoComplete(s, match_start_point, max_return_elements,
word_complete, matches);