forked from OSchip/llvm-project
Add comment describing the interaction of WantsRawCommandString()/WantsCompletion() with the completion mechanism.
llvm-svn: 148521
This commit is contained in:
parent
9249261858
commit
6561d15dcb
|
@ -344,6 +344,10 @@ CommandObject::HandleCompletion
|
|||
StringList &matches
|
||||
)
|
||||
{
|
||||
// Default implmentation of WantsCompletion() is !WantsRawCommandString().
|
||||
// Subclasses who want raw command string but desire, for example,
|
||||
// argument completion should override WantsCompletion() to return true,
|
||||
// instead.
|
||||
if (WantsRawCommandString() && !WantsCompletion())
|
||||
{
|
||||
// FIXME: Abstract telling the completion to insert the completion character.
|
||||
|
|
Loading…
Reference in New Issue