diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-12-15 18:49:47 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-12-15 18:49:47 +0000 |
| commit | 34d02d0b37f16015f317a935c48ce8b7b64ae77b (patch) | |
| tree | 2fd5819f49caecc5f520219b6b9254fe94ebb138 /include/clang/Sema | |
| parent | 1569ce68681d909594d64f9b056d71f5dd7563bf (diff) | |
Notes
Diffstat (limited to 'include/clang/Sema')
| -rw-r--r-- | include/clang/Sema/ExternalSemaSource.h | 3 | ||||
| -rw-r--r-- | include/clang/Sema/SemaConsumer.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/Sema/ExternalSemaSource.h b/include/clang/Sema/ExternalSemaSource.h index 05c56451b2188..d27e29281b5a3 100644 --- a/include/clang/Sema/ExternalSemaSource.h +++ b/include/clang/Sema/ExternalSemaSource.h @@ -34,6 +34,9 @@ public: /// tree. virtual void InitializeSema(Sema &S) {} + /// \brief Inform the semantic consumer that Sema is no longer available. + virtual void ForgetSema() {} + /// \brief Load the contents of the global method pool for a given /// selector. /// diff --git a/include/clang/Sema/SemaConsumer.h b/include/clang/Sema/SemaConsumer.h index b213daf8a39ea..3689a6e7a820c 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; |
