clang API Documentation
An abstract interface that should be implemented by clients that read ASTs and then require further semantic analysis of the entities in those ASTs. More...
#include <SemaConsumer.h>
Public Member Functions | |
SemaConsumer () | |
virtual void | InitializeSema (Sema &S) |
Initialize the semantic consumer with the Sema instance being used to perform semantic analysis on the abstract syntax tree. | |
virtual void | ForgetSema () |
Inform the semantic consumer that Sema is no longer available. | |
Static Public Member Functions | |
static bool | classof (const ASTConsumer *Consumer) |
An abstract interface that should be implemented by clients that read ASTs and then require further semantic analysis of the entities in those ASTs.
Definition at line 26 of file SemaConsumer.h.
clang::SemaConsumer::SemaConsumer | ( | ) | [inline] |
Definition at line 29 of file SemaConsumer.h.
static bool clang::SemaConsumer::classof | ( | const ASTConsumer * | Consumer | ) | [inline, static] |
Definition at line 42 of file SemaConsumer.h.
virtual void clang::SemaConsumer::ForgetSema | ( | ) | [inline, virtual] |
Inform the semantic consumer that Sema is no longer available.
Reimplemented in clang::MultiplexConsumer.
Definition at line 39 of file SemaConsumer.h.
virtual void clang::SemaConsumer::InitializeSema | ( | Sema & | S | ) | [inline, virtual] |
Initialize the semantic consumer with the Sema instance being used to perform semantic analysis on the abstract syntax tree.
Reimplemented in clang::PCHGenerator, and clang::MultiplexConsumer.
Definition at line 36 of file SemaConsumer.h.