diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlugin.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectPlugin.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectPlugin.cpp b/lldb/source/Commands/CommandObjectPlugin.cpp index cdc9006bf526..093ebde5f5f2 100644 --- a/lldb/source/Commands/CommandObjectPlugin.cpp +++ b/lldb/source/Commands/CommandObjectPlugin.cpp @@ -194,6 +194,14 @@ List only the plugin 'foo' matching a fully qualified name exactly Options *GetOptions() override { return &m_options; } + void + HandleArgumentCompletion(CompletionRequest &request, + OptionElementVector &opt_element_vector) override { + lldb_private::CommandCompletions::InvokeCommonCompletionCallbacks( + GetCommandInterpreter(), lldb::eManagedPluginCompletion, request, + nullptr); + } + protected: void DoExecute(Args &command, CommandReturnObject &result) override { size_t argc = command.GetArgumentCount(); @@ -293,6 +301,14 @@ public: AddSimpleArgumentList(eArgTypeManagedPlugin); } + void + HandleArgumentCompletion(CompletionRequest &request, + OptionElementVector &opt_element_vector) override { + lldb_private::CommandCompletions::InvokeCommonCompletionCallbacks( + GetCommandInterpreter(), lldb::eManagedPluginCompletion, request, + nullptr); + } + ~CommandObjectPluginEnable() override = default; protected: @@ -309,6 +325,14 @@ public: AddSimpleArgumentList(eArgTypeManagedPlugin); } + void + HandleArgumentCompletion(CompletionRequest &request, + OptionElementVector &opt_element_vector) override { + lldb_private::CommandCompletions::InvokeCommonCompletionCallbacks( + GetCommandInterpreter(), lldb::eManagedPluginCompletion, request, + nullptr); + } + ~CommandObjectPluginDisable() override = default; protected: |
