commit | 120d94de65fd5979f885768c8ddeada63897c9ba | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Thu Jan 19 22:16:06 2012 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Thu Jan 19 22:16:06 2012 +0000 |
tree | 1128a588f488e4bd56cdc3a50cdc4e62e27dcaa9 | |
parent | 7f86483a19735d0aae876e70445e071bbaa69637 [diff] [blame] |
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. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148500 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectSettings.h b/source/Commands/CommandObjectSettings.h index e446da7..057c868 100644 --- a/source/Commands/CommandObjectSettings.h +++ b/source/Commands/CommandObjectSettings.h
@@ -56,6 +56,10 @@ 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);