summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-01-19 22:16:06 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-01-19 22:16:06 +0000
commit6f99b637184f775d56822eb0ca03542e1d381679 (patch)
tree29d99aaf701e0aa1161252e840395b2255bfef54 /lldb/source/Interpreter/CommandObject.cpp
parent4972a6dd080f6a85a2b86f5ca1a3999b05fbc3cd (diff)
downloadbcm5719-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/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 696b92ba9c1..63d93a26bf8 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -344,7 +344,7 @@ CommandObject::HandleCompletion
StringList &matches
)
{
- if (WantsRawCommandString())
+ if (WantsRawCommandString() && !WantsCompletion())
{
// FIXME: Abstract telling the completion to insert the completion character.
matches.Clear();
OpenPOWER on IntegriCloud