diff options
author | Jim Ingham <jingham@apple.com> | 2010-06-30 05:02:46 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-06-30 05:02:46 +0000 |
commit | 558ce124eb9787beae314effe12b3c17568625e1 (patch) | |
tree | 99a0ea792b6a91576c1e4e1e4b97202e2a54963e /lldb/source/Interpreter/CommandObject.cpp | |
parent | e82689fea2a5f049ac3cfab705e6fac7ce1f0f21 (diff) | |
download | bcm5719-llvm-558ce124eb9787beae314effe12b3c17568625e1.tar.gz bcm5719-llvm-558ce124eb9787beae314effe12b3c17568625e1.zip |
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
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandObject.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index 2813ac16366..7ee9137b0e1 100644 --- a/lldb/source/Interpreter/CommandObject.cpp +++ b/lldb/source/Interpreter/CommandObject.cpp @@ -304,6 +304,7 @@ CommandObject::HandleCompletion int &cursor_char_position, int match_start_point, int max_return_elements, + bool &word_complete, StringList &matches ) { @@ -345,6 +346,7 @@ CommandObject::HandleCompletion cursor_char_position, match_start_point, max_return_elements, + word_complete, matches); if (handled_by_options) return matches.GetSize(); @@ -358,6 +360,7 @@ CommandObject::HandleCompletion opt_element_vector, match_start_point, max_return_elements, + word_complete, matches); } } |