clang API Documentation

Public Member Functions | Static Public Member Functions
clang::SemaConsumer Class Reference

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>

Inheritance diagram for clang::SemaConsumer:
Inheritance graph
[legend]
Collaboration diagram for clang::SemaConsumer:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 29 of file SemaConsumer.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files: