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/Interpreter/CommandObject.cpp b/source/Interpreter/CommandObject.cpp index 696b92b..63d93a2 100644 --- a/source/Interpreter/CommandObject.cpp +++ b/source/Interpreter/CommandObject.cpp
@@ -344,7 +344,7 @@ StringList &matches ) { - if (WantsRawCommandString()) + if (WantsRawCommandString() && !WantsCompletion()) { // FIXME: Abstract telling the completion to insert the completion character. matches.Clear();