diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-08-18 19:41:28 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-08-18 19:41:28 +0000 |
commit | 5c5f03e4020e90b9760ec547962ba02b029cc359 (patch) | |
tree | 0990f927f1d7421ccdc2c410b3e3e3bc26dc383b /include/clang/Lex/CodeCompletionHandler.h | |
parent | 870d1fee3c5027efe7fd23d6935952bc1f419f99 (diff) |
[libclang] Support code-completion inside macro arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/CodeCompletionHandler.h')
-rw-r--r-- | include/clang/Lex/CodeCompletionHandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Lex/CodeCompletionHandler.h b/include/clang/Lex/CodeCompletionHandler.h index d28a3aa7d6..d876776c92 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) { } |