diff options
author | Gongyu Deng <gy_deng@icloud.com> | 2020-08-24 18:58:17 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-08-24 19:54:23 +0200 |
commit | 188f1ac301c5c6da6d2f5697952510fc39cbdd43 (patch) | |
tree | d66ddc53a0b80d4f3f9d8b52ec85d0dd0bf720d9 /lldb/source/Commands/CommandObjectTarget.cpp | |
parent | 116affb18dfc8c48ad0bd5134b42a51e34ad6fd8 (diff) | |
download | llvm-188f1ac301c5c6da6d2f5697952510fc39cbdd43.zip llvm-188f1ac301c5c6da6d2f5697952510fc39cbdd43.tar.gz llvm-188f1ac301c5c6da6d2f5697952510fc39cbdd43.tar.bz2 |
[lldb] type category name common completion
1. Added a new common completion TypeCategoryNames to provide a list of category names for completion;
2. Applied the completion to these commands: type category delete/enable/disable/list/define;
3. Added a related test case;
4. Bound the completion to the arguments of the type 'eArgTypeName'.
Reviewed By: teemperor, JDevlieghere
Differential Revision: https://reviews.llvm.org/D84124
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index 3cd4ad88..b6af481 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -4725,8 +4725,6 @@ public: void HandleArgumentCompletion(CompletionRequest &request, OptionElementVector &opt_element_vector) override { - if (request.GetCursorIndex()) - return; CommandCompletions::InvokeCommonCompletionCallbacks( GetCommandInterpreter(), CommandCompletions::eStopHookIDCompletion, request, nullptr); |