diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-08-28 09:02:32 +0000 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-08-28 09:02:32 +0000 |
| commit | 9774a2ba279aea35f166b8ca489d0e8292026c38 (patch) | |
| tree | 546331bf440eafbb6217673a1b0cccfd75a0c3f0 /lldb | |
| parent | d15df0ede5898f83a9157fa5985386bd0b17e2c0 (diff) | |
| download | bcm5719-llvm-9774a2ba279aea35f166b8ca489d0e8292026c38.tar.gz bcm5719-llvm-9774a2ba279aea35f166b8ca489d0e8292026c38.zip | |
[lldb][NFC] Update documentation of Handle[Argument]Completion
We no longer have return values or any of the mentioned arguments
in these functions since the introduction of CompletionRequest.
llvm-svn: 370174
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/include/lldb/Interpreter/CommandObject.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lldb/include/lldb/Interpreter/CommandObject.h b/lldb/include/lldb/Interpreter/CommandObject.h index 28635f82017..e526c1db26b 100644 --- a/lldb/include/lldb/Interpreter/CommandObject.h +++ b/lldb/include/lldb/Interpreter/CommandObject.h @@ -228,25 +228,15 @@ public: /// /// \param[in/out] request /// The completion request that needs to be answered. - /// - /// FIXME: This is the wrong return value, since we also need to make a - /// distinction between - /// total number of matches, and the window the user wants returned. virtual void HandleCompletion(CompletionRequest &request); - /// The input array contains a parsed version of the line. The insertion - /// point is given by cursor_index (the index in input of the word containing - /// the cursor) and cursor_char_position (the position of the cursor in that - /// word.) + /// The input array contains a parsed version of the line. + /// /// We've constructed the map of options and their arguments as well if that /// is helpful for the completion. /// /// \param[in/out] request /// The completion request that needs to be answered. - /// - /// FIXME: This is the wrong return value, since we also need to make a - /// distinction between - /// total number of matches, and the window the user wants returned. virtual void HandleArgumentCompletion(CompletionRequest &request, OptionElementVector &opt_element_vector) {} |

