summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Core/FormatEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp
index e88298645d0..de61c641a56 100644
--- a/lldb/source/Core/FormatEntity.cpp
+++ b/lldb/source/Core/FormatEntity.cpp
@@ -2347,7 +2347,7 @@ static void AddMatches(const FormatEntity::Entry::Definition *def,
}
size_t FormatEntity::AutoComplete(CompletionRequest &request) {
- llvm::StringRef str = request.GetCursorArgumentPrefix().str();
+ llvm::StringRef str = request.GetCursorArgumentPrefix();
request.SetWordComplete(false);
OpenPOWER on IntegriCloud