diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2024-02-19 18:19:36 -0800 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2024-02-19 18:19:59 -0800 |
commit | 9ed8b272c30a01c450616f0ed8b2373d5d618ebb (patch) | |
tree | 767aa897f69692523a196a128d954ba408482708 /lldb/source/Commands/CommandObjectSettings.cpp | |
parent | 744616b3aebd008a5ad0e9de9f82f5e284440ab1 (diff) | |
download | llvm-9ed8b272c30a01c450616f0ed8b2373d5d618ebb.zip llvm-9ed8b272c30a01c450616f0ed8b2373d5d618ebb.tar.gz llvm-9ed8b272c30a01c450616f0ed8b2373d5d618ebb.tar.bz2 |
Revert "Centralize the handling of completion for simple argument lists. (#82085)"
This reverts commit 21631494b068d9364b8dc8f18e59adee9131a0a5.
Reverted because of greendragon failure:
******************** TEST 'lldb-api :: functionalities/completion/TestCompletion.py' FAILED ********************
Script:
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSettings.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp index 0cf3d1d..5fb7dcc 100644 --- a/lldb/source/Commands/CommandObjectSettings.cpp +++ b/lldb/source/Commands/CommandObjectSettings.cpp @@ -262,6 +262,14 @@ public: ~CommandObjectSettingsShow() override = default; + void + HandleArgumentCompletion(CompletionRequest &request, + OptionElementVector &opt_element_vector) override { + lldb_private::CommandCompletions::InvokeCommonCompletionCallbacks( + GetCommandInterpreter(), lldb::eSettingsNameCompletion, request, + nullptr); + } + protected: void DoExecute(Args &args, CommandReturnObject &result) override { result.SetStatus(eReturnStatusSuccessFinishResult); |