aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/CodeCompleteConsumer.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-11 21:23:17 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-11 21:23:17 +0000
commite6b1bb6e7fe906d164637ca33503b8fafdbc99e5 (patch)
tree04d46dcc8dbdba7495c573d0ff6c373e754e6ce9 /lib/Sema/CodeCompleteConsumer.cpp
parent741c362a1cb4f3644d5a4e6b8eb9244799e4ade6 (diff)
Once code completion has completed, pass a "completion context" on to
the code-completion consumer. The consumer can use this information to augument, filter, or display the code-completion results. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110858 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/CodeCompleteConsumer.cpp')
-rw-r--r--lib/Sema/CodeCompleteConsumer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/CodeCompleteConsumer.cpp b/lib/Sema/CodeCompleteConsumer.cpp
index 62e4abbbbb..a7eca6a804 100644
--- a/lib/Sema/CodeCompleteConsumer.cpp
+++ b/lib/Sema/CodeCompleteConsumer.cpp
@@ -438,6 +438,7 @@ CodeCompleteConsumer::~CodeCompleteConsumer() { }
void
PrintingCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef,
+ CodeCompletionContext Context,
Result *Results,
unsigned NumResults) {
// Print the results.
@@ -589,6 +590,7 @@ namespace clang {
void
CIndexCodeCompleteConsumer::ProcessCodeCompleteResults(Sema &SemaRef,
+ CodeCompletionContext Context,
Result *Results,
unsigned NumResults) {
// Print the results.