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 InstantiationRequested (const ValueDecl *D) override
 The instantiation of a templated function or variable was requested. More...
 
void VariableDefinitionInstantiated (const VarDecl *D) override
 A templated variable's definition was implicitly instantiated. More...
 
void FunctionDefinitionInstantiated (const FunctionDecl *D) override
 A function template's definition was 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 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 141 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 247 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 157 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 162 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 167 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 172 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 221 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 151 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 192 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 146 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 236 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 231 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 227 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 182 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 211 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 216 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 206 of file MultiplexConsumer.cpp.

◆ InstantiationRequested()

void clang::MultiplexASTMutationListener::InstantiationRequested ( const ValueDecl D)
overridevirtual

The instantiation of a templated function or variable was requested.

In particular, the point of instantiation and template specialization kind of D may have changed.

Reimplemented from clang::ASTMutationListener.

Definition at line 197 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 241 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 177 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 187 of file MultiplexConsumer.cpp.

◆ VariableDefinitionInstantiated()

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

A templated variable's definition was implicitly instantiated.

Reimplemented from clang::ASTMutationListener.

Definition at line 201 of file MultiplexConsumer.cpp.


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