summaryrefslogtreecommitdiff
path: root/include/clang/Lex/CodeCompletionHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Lex/CodeCompletionHandler.h')
-rw-r--r--include/clang/Lex/CodeCompletionHandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Lex/CodeCompletionHandler.h b/include/clang/Lex/CodeCompletionHandler.h
index d28a3aa7d6309..d876776c927c1 100644
--- a/include/clang/Lex/CodeCompletionHandler.h
+++ b/include/clang/Lex/CodeCompletionHandler.h
@@ -52,6 +52,10 @@ public:
/// \brief Callback invoked when performing code completion inside a
/// function-like macro argument.
+ ///
+ /// There will be another callback invocation after the macro arguments are
+ /// parsed, so this callback should generally be used to note that the next
+ /// callback is invoked inside a macro argument.
virtual void CodeCompleteMacroArgument(IdentifierInfo *Macro,
MacroInfo *MacroInfo,
unsigned ArgumentIndex) { }