clang API Documentation

Public Member Functions
clang::ASTDeserializationListener Class Reference

#include <ASTDeserializationListener.h>

Inheritance diagram for clang::ASTDeserializationListener:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~ASTDeserializationListener ()
virtual void ReaderInitialized (ASTReader *Reader)
 The ASTReader was initialized.
virtual void IdentifierRead (serialization::IdentID ID, IdentifierInfo *II)
 An identifier was deserialized from the AST file.
virtual void MacroRead (serialization::MacroID ID, MacroInfo *MI)
 A macro was read from the AST file.
virtual void TypeRead (serialization::TypeIdx Idx, QualType T)
 A type was deserialized from the AST file. The ID here has the qualifier bits already removed, and T is guaranteed to be locally unqualified.
virtual void DeclRead (serialization::DeclID ID, const Decl *D)
 A decl was deserialized from the AST file.
virtual void SelectorRead (serialization::SelectorID iD, Selector Sel)
 A selector was read from the AST file.
virtual void MacroDefinitionRead (serialization::PreprocessedEntityID, MacroDefinition *MD)
 A macro definition was read from the AST file.
virtual void ModuleRead (serialization::SubmoduleID ID, Module *Mod)
 A module definition was read from the AST file.

Detailed Description

Definition at line 30 of file ASTDeserializationListener.h.


Constructor & Destructor Documentation

Definition at line 24 of file ASTCommon.cpp.


Member Function Documentation

virtual void clang::ASTDeserializationListener::DeclRead ( serialization::DeclID  ID,
const Decl D 
) [inline, virtual]

A decl was deserialized from the AST file.

Reimplemented in clang::MultiplexASTDeserializationListener.

Definition at line 47 of file ASTDeserializationListener.h.

An identifier was deserialized from the AST file.

Reimplemented in clang::ASTWriter, and clang::MultiplexASTDeserializationListener.

Definition at line 38 of file ASTDeserializationListener.h.

Referenced by clang::ASTReader::DecodeIdentifierInfo(), and clang::ASTReader::SetIdentifierInfo().

A macro definition was read from the AST file.

Reimplemented in clang::ASTWriter, and clang::MultiplexASTDeserializationListener.

Definition at line 51 of file ASTDeserializationListener.h.

virtual void clang::ASTDeserializationListener::MacroRead ( serialization::MacroID  ID,
MacroInfo MI 
) [inline, virtual]

A macro was read from the AST file.

Reimplemented in clang::ASTWriter.

Definition at line 41 of file ASTDeserializationListener.h.

Referenced by clang::ASTReader::getMacro().

virtual void clang::ASTDeserializationListener::ModuleRead ( serialization::SubmoduleID  ID,
Module Mod 
) [inline, virtual]

A module definition was read from the AST file.

Reimplemented in clang::ASTWriter.

Definition at line 54 of file ASTDeserializationListener.h.

virtual void clang::ASTDeserializationListener::ReaderInitialized ( ASTReader Reader) [inline, virtual]

The ASTReader was initialized.

Reimplemented in clang::ASTWriter, and clang::MultiplexASTDeserializationListener.

Definition at line 35 of file ASTDeserializationListener.h.

A selector was read from the AST file.

Reimplemented in clang::ASTWriter, and clang::MultiplexASTDeserializationListener.

Definition at line 49 of file ASTDeserializationListener.h.

Referenced by clang::ASTReader::DecodeSelector(), and clang::serialization::ReadMethodPoolVisitor::visit().

virtual void clang::ASTDeserializationListener::TypeRead ( serialization::TypeIdx  Idx,
QualType  T 
) [inline, virtual]

A type was deserialized from the AST file. The ID here has the qualifier bits already removed, and T is guaranteed to be locally unqualified.

Reimplemented in clang::ASTWriter, and clang::MultiplexASTDeserializationListener.

Definition at line 45 of file ASTDeserializationListener.h.


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