clang 20.0.0git
Public Member Functions | List of all members
clang::MultiplexASTDeserializationListener Class Reference

#include "clang/Frontend/MultiplexConsumer.h"

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

Public Member Functions

 MultiplexASTDeserializationListener (const std::vector< ASTDeserializationListener * > &L)
 
void ReaderInitialized (ASTReader *Reader) override
 The ASTReader was initialized.
 
void IdentifierRead (serialization::IdentifierID ID, IdentifierInfo *II) override
 An identifier was deserialized from the AST file.
 
void MacroRead (serialization::MacroID ID, MacroInfo *MI) override
 A macro was read from the AST file.
 
void TypeRead (serialization::TypeIdx Idx, QualType T) override
 A type was deserialized from the AST file.
 
void DeclRead (GlobalDeclID ID, const Decl *D) override
 A decl was deserialized from the AST file.
 
void PredefinedDeclBuilt (PredefinedDeclIDs ID, const Decl *D) override
 A predefined decl was built during the serialization.
 
void SelectorRead (serialization::SelectorID iD, Selector Sel) override
 A selector was read from the AST file.
 
void MacroDefinitionRead (serialization::PreprocessedEntityID, MacroDefinitionRecord *MD) override
 A macro definition was read from the AST file.
 
void ModuleRead (serialization::SubmoduleID ID, Module *Mod) override
 A module definition was read from the AST file.
 
void ModuleImportRead (serialization::SubmoduleID ID, SourceLocation ImportLoc) override
 A module import was read from the AST file.
 
- Public Member Functions inherited from clang::ASTDeserializationListener
virtual ~ASTDeserializationListener ()
 
virtual void ReaderInitialized (ASTReader *Reader)
 The ASTReader was initialized.
 
virtual void IdentifierRead (serialization::IdentifierID 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.
 
virtual void DeclRead (GlobalDeclID ID, const Decl *D)
 A decl was deserialized from the AST file.
 
virtual void PredefinedDeclBuilt (PredefinedDeclIDs ID, const Decl *D)
 A predefined decl was built during the serialization.
 
virtual void SelectorRead (serialization::SelectorID iD, Selector Sel)
 A selector was read from the AST file.
 
virtual void MacroDefinitionRead (serialization::PreprocessedEntityID, MacroDefinitionRecord *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.
 
virtual void ModuleImportRead (serialization::SubmoduleID ID, SourceLocation ImportLoc)
 A module import was read from the AST file.
 

Detailed Description

Definition at line 29 of file MultiplexConsumer.h.

Constructor & Destructor Documentation

◆ MultiplexASTDeserializationListener()

clang::MultiplexASTDeserializationListener::MultiplexASTDeserializationListener ( const std::vector< ASTDeserializationListener * > &  L)

Definition at line 26 of file MultiplexConsumer.cpp.

Member Function Documentation

◆ DeclRead()

void clang::MultiplexASTDeserializationListener::DeclRead ( GlobalDeclID  ID,
const Decl D 
)
overridevirtual

A decl was deserialized from the AST file.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 55 of file MultiplexConsumer.cpp.

References D, and ID.

◆ IdentifierRead()

void clang::MultiplexASTDeserializationListener::IdentifierRead ( serialization::IdentifierID  ID,
IdentifierInfo II 
)
overridevirtual

An identifier was deserialized from the AST file.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 37 of file MultiplexConsumer.cpp.

References ID.

◆ MacroDefinitionRead()

void clang::MultiplexASTDeserializationListener::MacroDefinitionRead ( serialization::PreprocessedEntityID  ,
MacroDefinitionRecord MD 
)
overridevirtual

A macro definition was read from the AST file.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 72 of file MultiplexConsumer.cpp.

References ID.

◆ MacroRead()

void clang::MultiplexASTDeserializationListener::MacroRead ( serialization::MacroID  ID,
MacroInfo MI 
)
overridevirtual

A macro was read from the AST file.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 43 of file MultiplexConsumer.cpp.

References ID.

◆ ModuleImportRead()

void clang::MultiplexASTDeserializationListener::ModuleImportRead ( serialization::SubmoduleID  ID,
SourceLocation  ImportLoc 
)
overridevirtual

A module import was read from the AST file.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 84 of file MultiplexConsumer.cpp.

References ID.

◆ ModuleRead()

void clang::MultiplexASTDeserializationListener::ModuleRead ( serialization::SubmoduleID  ID,
Module Mod 
)
overridevirtual

A module definition was read from the AST file.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 78 of file MultiplexConsumer.cpp.

References ID.

◆ PredefinedDeclBuilt()

void clang::MultiplexASTDeserializationListener::PredefinedDeclBuilt ( PredefinedDeclIDs  ID,
const Decl D 
)
overridevirtual

A predefined decl was built during the serialization.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 61 of file MultiplexConsumer.cpp.

References D, and ID.

◆ ReaderInitialized()

void clang::MultiplexASTDeserializationListener::ReaderInitialized ( ASTReader Reader)
overridevirtual

The ASTReader was initialized.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 31 of file MultiplexConsumer.cpp.

◆ SelectorRead()

void clang::MultiplexASTDeserializationListener::SelectorRead ( serialization::SelectorID  iD,
Selector  Sel 
)
overridevirtual

A selector was read from the AST file.

Reimplemented from clang::ASTDeserializationListener.

Definition at line 66 of file MultiplexConsumer.cpp.

References ID.

◆ TypeRead()

void clang::MultiplexASTDeserializationListener::TypeRead ( serialization::TypeIdx  Idx,
QualType  T 
)
overridevirtual

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 from clang::ASTDeserializationListener.

Definition at line 49 of file MultiplexConsumer.cpp.

References clang::T.


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