From 558ce124eb9787beae314effe12b3c17568625e1 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 30 Jun 2010 05:02:46 +0000 Subject: Add a source file completer to the CommandCompleters. Add a way for the completers to say whether the completed argument should have a space inserted after is or not. Added the file name completer to the "file" command. llvm-svn: 107247 --- lldb/source/Commands/CommandObjectFile.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lldb/source/Commands/CommandObjectFile.h') diff --git a/lldb/source/Commands/CommandObjectFile.h b/lldb/source/Commands/CommandObjectFile.h index 23f4761983d..b42f753ada1 100644 --- a/lldb/source/Commands/CommandObjectFile.h +++ b/lldb/source/Commands/CommandObjectFile.h @@ -67,6 +67,18 @@ public: ArchSpec m_arch; }; + + virtual int + HandleArgumentCompletion (CommandInterpreter &interpreter, + Args &input, + int &cursor_index, + int &cursor_char_position, + OptionElementVector &opt_element_vector, + int match_start_point, + int max_return_elements, + bool &word_complete, + StringList &matches); + private: CommandOptions m_options; -- cgit v1.2.3