aboutsummaryrefslogtreecommitdiff
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Lex/CodeCompletionHandler.h b/include/clang/Lex/CodeCompletionHandler.h
index bb8705b9a6..d28a3aa7d6 100644
--- a/include/clang/Lex/CodeCompletionHandler.h
+++ b/include/clang/Lex/CodeCompletionHandler.h
@@ -55,6 +55,11 @@ public:
virtual void CodeCompleteMacroArgument(IdentifierInfo *Macro,
MacroInfo *MacroInfo,
unsigned ArgumentIndex) { }
+
+ /// \brief Callback invoked when performing code completion in a part of the
+ /// file where we expect natural language, e.g., a comment, string, or
+ /// #error directive.
+ virtual void CodeCompleteNaturalLanguage() { }
};
}