summaryrefslogtreecommitdiffstats
path: root/include/clang/Sema/SemaConsumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Sema/SemaConsumer.h')
-rw-r--r--include/clang/Sema/SemaConsumer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Sema/SemaConsumer.h b/include/clang/Sema/SemaConsumer.h
index b213daf..3689a6e 100644
--- a/include/clang/Sema/SemaConsumer.h
+++ b/include/clang/Sema/SemaConsumer.h
@@ -34,6 +34,9 @@ namespace clang {
/// tree.
virtual void InitializeSema(Sema &S) {}
+ /// \brief Inform the semantic consumer that Sema is no longer available.
+ virtual void ForgetSema() {}
+
// isa/cast/dyn_cast support
static bool classof(const ASTConsumer *Consumer) {
return Consumer->SemaConsumer;
OpenPOWER on IntegriCloud