clang  6.0.0svn
Public Member Functions | List of all members
clang::MultiplexASTMutationListener Class Reference
Inheritance diagram for clang::MultiplexASTMutationListener:
Inheritance graph
[legend]
Collaboration diagram for clang::MultiplexASTMutationListener:
Collaboration graph
[legend]

Public Member Functions

 MultiplexASTMutationListener (ArrayRef< ASTMutationListener *> L)
 
void CompletedTagDefinition (const TagDecl *D) override
 A new TagDecl definition was completed. More...
 
void AddedVisibleDecl (const DeclContext *DC, const Decl *D) override
 A new declaration with name has been added to a DeclContext. More...
 
void AddedCXXImplicitMember (const CXXRecordDecl *RD, const Decl *D) override
 An implicit member was added after the definition was completed. More...
 
void AddedCXXTemplateSpecialization (const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) override
 A template specialization (or partial one) was added to the template declaration. More...
 
void AddedCXXTemplateSpecialization (const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) override
 A template specialization (or partial one) was added to the template declaration. More...
 
void AddedCXXTemplateSpecialization (const FunctionTemplateDecl *TD, const FunctionDecl *D) override
 A template specialization (or partial one) was added to the template declaration. More...
 
void ResolvedExceptionSpec (const FunctionDecl *FD) override
 A function's exception specification has been evaluated or instantiated. More...
 
void DeducedReturnType (const FunctionDecl *FD, QualType ReturnType) override
 A function's return type has been deduced. More...
 
void ResolvedOperatorDelete (const CXXDestructorDecl *DD, const FunctionDecl *Delete, Expr *ThisArg) override
 A virtual destructor's operator delete has been resolved. More...
 
void CompletedImplicitDefinition (const FunctionDecl *D) override
 An implicit member got a definition. More...
 
void StaticDataMemberInstantiated (const VarDecl *D) override
 A static data member was implicitly instantiated. More...
 
void DefaultArgumentInstantiated (const ParmVarDecl *D) override
 A default argument was instantiated. More...
 
void DefaultMemberInitializerInstantiated (const FieldDecl *D) override
 A default member initializer was instantiated. More...
 
void AddedObjCCategoryToInterface (const ObjCCategoryDecl *CatD, const ObjCInterfaceDecl *IFD) override
 A new objc category class was added for an interface. More...
 
void FunctionDefinitionInstantiated (const FunctionDecl *D) override
 A function template's definition was instantiated. More...
 
void DeclarationMarkedUsed (const Decl *D) override
 A declaration is marked used which was not previously marked used. More...
 
void DeclarationMarkedOpenMPThreadPrivate (const Decl *D) override
 A declaration is marked as OpenMP threadprivate which was not previously marked as threadprivate. More...
 
void DeclarationMarkedOpenMPDeclareTarget (const Decl *D, const Attr *Attr) override
 A declaration is marked as OpenMP declaretarget which was not previously marked as declaretarget. More...
 
void RedefinedHiddenDefinition (const NamedDecl *D, Module *M) override
 A definition has been made visible by being redefined locally. More...
 
void AddedAttributeToRecord (const Attr *Attr, const RecordDecl *Record) override
 An attribute was added to a RecordDecl. More...
 
- Public Member Functions inherited from clang::ASTMutationListener
virtual ~ASTMutationListener ()
 

Detailed Description

Definition at line 103 of file MultiplexConsumer.cpp.

Constructor & Destructor Documentation

◆ MultiplexASTMutationListener()

clang::MultiplexASTMutationListener::MultiplexASTMutationListener ( ArrayRef< ASTMutationListener *>  L)

Definition at line 140 of file MultiplexConsumer.cpp.

Member Function Documentation

◆ AddedAttributeToRecord()

void clang::MultiplexASTMutationListener::AddedAttributeToRecord ( const Attr Attr,
const RecordDecl Record 
)
overridevirtual

An attribute was added to a RecordDecl.

Parameters
AttrThe attribute that was added to the Record
RecordThe RecordDecl that got a new attribute

Reimplemented from clang::ASTMutationListener.

Definition at line 242 of file MultiplexConsumer.cpp.

◆ AddedCXXImplicitMember()

void clang::MultiplexASTMutationListener::AddedCXXImplicitMember ( const CXXRecordDecl RD,
const Decl D 
)
overridevirtual

An implicit member was added after the definition was completed.

Reimplemented from clang::ASTMutationListener.

Definition at line 156 of file MultiplexConsumer.cpp.

◆ AddedCXXTemplateSpecialization() [1/3]

void clang::MultiplexASTMutationListener::AddedCXXTemplateSpecialization ( const ClassTemplateDecl TD,
const ClassTemplateSpecializationDecl D 
)
overridevirtual

A template specialization (or partial one) was added to the template declaration.

Reimplemented from clang::ASTMutationListener.

Definition at line 161 of file MultiplexConsumer.cpp.

Referenced by AddedCXXTemplateSpecialization().

◆ AddedCXXTemplateSpecialization() [2/3]

void clang::MultiplexASTMutationListener::AddedCXXTemplateSpecialization ( const VarTemplateDecl TD,
const VarTemplateSpecializationDecl D 
)
overridevirtual

A template specialization (or partial one) was added to the template declaration.

Reimplemented from clang::ASTMutationListener.

Definition at line 166 of file MultiplexConsumer.cpp.

References AddedCXXTemplateSpecialization().

◆ AddedCXXTemplateSpecialization() [3/3]

void clang::MultiplexASTMutationListener::AddedCXXTemplateSpecialization ( const FunctionTemplateDecl TD,
const FunctionDecl D 
)
overridevirtual

A template specialization (or partial one) was added to the template declaration.

Reimplemented from clang::ASTMutationListener.

Definition at line 171 of file MultiplexConsumer.cpp.

References AddedCXXTemplateSpecialization().

◆ AddedObjCCategoryToInterface()

void clang::MultiplexASTMutationListener::AddedObjCCategoryToInterface ( const ObjCCategoryDecl CatD,
const ObjCInterfaceDecl IFD 
)
overridevirtual

A new objc category class was added for an interface.

Reimplemented from clang::ASTMutationListener.

Definition at line 211 of file MultiplexConsumer.cpp.

◆ AddedVisibleDecl()

void clang::MultiplexASTMutationListener::AddedVisibleDecl ( const DeclContext DC,
const Decl D 
)
overridevirtual

A new declaration with name has been added to a DeclContext.

Reimplemented from clang::ASTMutationListener.

Definition at line 150 of file MultiplexConsumer.cpp.

◆ CompletedImplicitDefinition()

void clang::MultiplexASTMutationListener::CompletedImplicitDefinition ( const FunctionDecl D)
overridevirtual

An implicit member got a definition.

Reimplemented from clang::ASTMutationListener.

Definition at line 191 of file MultiplexConsumer.cpp.

◆ CompletedTagDefinition()

void clang::MultiplexASTMutationListener::CompletedTagDefinition ( const TagDecl D)
overridevirtual

A new TagDecl definition was completed.

Reimplemented from clang::ASTMutationListener.

Definition at line 145 of file MultiplexConsumer.cpp.

◆ DeclarationMarkedOpenMPDeclareTarget()

void clang::MultiplexASTMutationListener::DeclarationMarkedOpenMPDeclareTarget ( const Decl D,
const Attr Attr 
)
overridevirtual

A declaration is marked as OpenMP declaretarget which was not previously marked as declaretarget.

Parameters
Dthe declaration marked OpenMP declaretarget.
Attrthe added attribute.

Reimplemented from clang::ASTMutationListener.

Definition at line 231 of file MultiplexConsumer.cpp.

◆ DeclarationMarkedOpenMPThreadPrivate()

void clang::MultiplexASTMutationListener::DeclarationMarkedOpenMPThreadPrivate ( const Decl D)
overridevirtual

A declaration is marked as OpenMP threadprivate which was not previously marked as threadprivate.

Parameters
Dthe declaration marked OpenMP threadprivate.

Reimplemented from clang::ASTMutationListener.

Definition at line 226 of file MultiplexConsumer.cpp.

◆ DeclarationMarkedUsed()

void clang::MultiplexASTMutationListener::DeclarationMarkedUsed ( const Decl D)
overridevirtual

A declaration is marked used which was not previously marked used.

Parameters
Dthe declaration marked used

Reimplemented from clang::ASTMutationListener.

Definition at line 222 of file MultiplexConsumer.cpp.

◆ DeducedReturnType()

void clang::MultiplexASTMutationListener::DeducedReturnType ( const FunctionDecl FD,
QualType  ReturnType 
)
overridevirtual

A function's return type has been deduced.

Reimplemented from clang::ASTMutationListener.

Definition at line 181 of file MultiplexConsumer.cpp.

◆ DefaultArgumentInstantiated()

void clang::MultiplexASTMutationListener::DefaultArgumentInstantiated ( const ParmVarDecl D)
overridevirtual

A default argument was instantiated.

Reimplemented from clang::ASTMutationListener.

Definition at line 201 of file MultiplexConsumer.cpp.

◆ DefaultMemberInitializerInstantiated()

void clang::MultiplexASTMutationListener::DefaultMemberInitializerInstantiated ( const FieldDecl D)
overridevirtual

A default member initializer was instantiated.

Reimplemented from clang::ASTMutationListener.

Definition at line 206 of file MultiplexConsumer.cpp.

◆ FunctionDefinitionInstantiated()

void clang::MultiplexASTMutationListener::FunctionDefinitionInstantiated ( const FunctionDecl D)
overridevirtual

A function template's definition was instantiated.

Reimplemented from clang::ASTMutationListener.

Definition at line 217 of file MultiplexConsumer.cpp.

◆ RedefinedHiddenDefinition()

void clang::MultiplexASTMutationListener::RedefinedHiddenDefinition ( const NamedDecl D,
Module M 
)
overridevirtual

A definition has been made visible by being redefined locally.

Parameters
DThe definition that was previously not visible.
MThe containing module in which the definition was made visible, if any.

Reimplemented from clang::ASTMutationListener.

Definition at line 236 of file MultiplexConsumer.cpp.

◆ ResolvedExceptionSpec()

void clang::MultiplexASTMutationListener::ResolvedExceptionSpec ( const FunctionDecl FD)
overridevirtual

A function's exception specification has been evaluated or instantiated.

Reimplemented from clang::ASTMutationListener.

Definition at line 176 of file MultiplexConsumer.cpp.

◆ ResolvedOperatorDelete()

void clang::MultiplexASTMutationListener::ResolvedOperatorDelete ( const CXXDestructorDecl DD,
const FunctionDecl Delete,
Expr ThisArg 
)
overridevirtual

A virtual destructor's operator delete has been resolved.

Reimplemented from clang::ASTMutationListener.

Definition at line 186 of file MultiplexConsumer.cpp.

◆ StaticDataMemberInstantiated()

void clang::MultiplexASTMutationListener::StaticDataMemberInstantiated ( const VarDecl D)
overridevirtual

A static data member was implicitly instantiated.

Reimplemented from clang::ASTMutationListener.

Definition at line 196 of file MultiplexConsumer.cpp.


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