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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107247 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandObject.cpp b/source/Interpreter/CommandObject.cpp
index 2813ac1..7ee9137 100644
--- a/source/Interpreter/CommandObject.cpp
+++ b/source/Interpreter/CommandObject.cpp
@@ -304,6 +304,7 @@
int &cursor_char_position,
int match_start_point,
int max_return_elements,
+ bool &word_complete,
StringList &matches
)
{
@@ -345,6 +346,7 @@
cursor_char_position,
match_start_point,
max_return_elements,
+ word_complete,
matches);
if (handled_by_options)
return matches.GetSize();
@@ -358,6 +360,7 @@
opt_element_vector,
match_start_point,
max_return_elements,
+ word_complete,
matches);
}
}