summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-07-31 03:48:29 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-07-31 03:48:29 +0000
commitb22860da61ad68edf1f92c6fea8afe11c9c4036b (patch)
tree8aecebf27211864a098391a11947db0bd5d448c2 /lldb/source/API
parent175f0930907c56a80e0500cd201910c36222e788 (diff)
downloadbcm5719-llvm-b22860da61ad68edf1f92c6fea8afe11c9c4036b.tar.gz
bcm5719-llvm-b22860da61ad68edf1f92c6fea8afe11c9c4036b.zip
[CompletionRequest] Remove unimplemented members.
Completion requests have two fields that are essentially unimplemented: `m_match_start_point` and `m_max_return_elements`. This would've been okay, if it wasn't for the fact that this caused a bunch of useless parameters to be passed around. Occasionally there would be a comment or assert saying that they are not supported. This patch removes them. llvm-svn: 367385
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBCommandInterpreter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/API/SBCommandInterpreter.cpp b/lldb/source/API/SBCommandInterpreter.cpp
index c07dffce0ba..1c07e856395 100644
--- a/lldb/source/API/SBCommandInterpreter.cpp
+++ b/lldb/source/API/SBCommandInterpreter.cpp
@@ -372,8 +372,7 @@ int SBCommandInterpreter::HandleCompletionWithDescriptions(
if (IsValid()) {
lldb_private::StringList lldb_matches, lldb_descriptions;
num_completions = m_opaque_ptr->HandleCompletion(
- current_line, cursor, last_char, match_start_point, max_return_elements,
- lldb_matches, lldb_descriptions);
+ current_line, cursor, last_char, lldb_matches, lldb_descriptions);
SBStringList temp_matches_list(&lldb_matches);
matches.AppendList(temp_matches_list);
OpenPOWER on IntegriCloud