aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSettings.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-08-21 12:57:06 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-08-21 12:57:06 +0000
commit006d22de508d18af93899c5ab32651681f816575 (patch)
treec172d34a40361346f7cb6613db85e0836376d4e4 /lldb/source/Commands/CommandObjectSettings.cpp
parent045f33aec9ebf292bfc37350aad5e436f78fab17 (diff)
downloadllvm-006d22de508d18af93899c5ab32651681f816575.zip
llvm-006d22de508d18af93899c5ab32651681f816575.tar.gz
llvm-006d22de508d18af93899c5ab32651681f816575.tar.bz2
[lldb] Add tests for setting completions and enable 'settings remove' completion
llvm-svn: 369521
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSettings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp
index d756e03..200ef34 100644
--- a/lldb/source/Commands/CommandObjectSettings.cpp
+++ b/lldb/source/Commands/CommandObjectSettings.cpp
@@ -613,6 +613,8 @@ public:
~CommandObjectSettingsRemove() override = default;
+ bool WantsCompletion() override { return true; }
+
int HandleArgumentCompletion(
CompletionRequest &request,
OptionElementVector &opt_element_vector) override {