diff options
author | Johnny Chen <johnny.chen@apple.com> | 2012-01-19 22:16:06 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2012-01-19 22:16:06 +0000 |
commit | 6f99b637184f775d56822eb0ca03542e1d381679 (patch) | |
tree | 29d99aaf701e0aa1161252e840395b2255bfef54 /lldb/source/Commands/CommandObjectSettings.h | |
parent | 4972a6dd080f6a85a2b86f5ca1a3999b05fbc3cd (diff) | |
download | bcm5719-llvm-6f99b637184f775d56822eb0ca03542e1d381679.tar.gz bcm5719-llvm-6f99b637184f775d56822eb0ca03542e1d381679.zip |
rdar://problem/10724187
http://llvm.org/viewvc/llvm-project?rev=148491&view=rev check in broke the argument completion
for "settings set th", followed by TAB. Provide a way for commands who want raw commands to
hook into the completion mechanism.
llvm-svn: 148500
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.h')
-rw-r--r-- | lldb/source/Commands/CommandObjectSettings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.h b/lldb/source/Commands/CommandObjectSettings.h index e446da7edee..057c86841bc 100644 --- a/lldb/source/Commands/CommandObjectSettings.h +++ b/lldb/source/Commands/CommandObjectSettings.h @@ -56,6 +56,10 @@ public: virtual bool WantsRawCommandString() { return true; } + // Overrides base class's behavior where WantsCompletion = !WantsRawCommandString. + virtual bool + WantsCompletion() { return true; } + virtual bool ExecuteRawCommandString (const char *raw_command, CommandReturnObject &result); |