clang 19.0.0git
Public Member Functions | List of all members
clang::TemplateInstantiationCallback Class Referenceabstract

This is a base class for callbacks that will be notified at every template instantiation. More...

#include "clang/Sema/TemplateInstCallback.h"

Public Member Functions

virtual ~TemplateInstantiationCallback ()=default
 
virtual void initialize (const Sema &TheSema)=0
 Called before doing AST-parsing.
 
virtual void finalize (const Sema &TheSema)=0
 Called after AST-parsing is completed.
 
virtual void atTemplateBegin (const Sema &TheSema, const Sema::CodeSynthesisContext &Inst)=0
 Called when instantiation of a template just began.
 
virtual void atTemplateEnd (const Sema &TheSema, const Sema::CodeSynthesisContext &Inst)=0
 Called when instantiation of a template is just about to end.
 

Detailed Description

This is a base class for callbacks that will be notified at every template instantiation.

Definition at line 23 of file TemplateInstCallback.h.

Constructor & Destructor Documentation

◆ ~TemplateInstantiationCallback()

virtual clang::TemplateInstantiationCallback::~TemplateInstantiationCallback ( )
virtualdefault

Member Function Documentation

◆ atTemplateBegin()

virtual void clang::TemplateInstantiationCallback::atTemplateBegin ( const Sema TheSema,
const Sema::CodeSynthesisContext Inst 
)
pure virtual

Called when instantiation of a template just began.

◆ atTemplateEnd()

virtual void clang::TemplateInstantiationCallback::atTemplateEnd ( const Sema TheSema,
const Sema::CodeSynthesisContext Inst 
)
pure virtual

Called when instantiation of a template is just about to end.

◆ finalize()

virtual void clang::TemplateInstantiationCallback::finalize ( const Sema TheSema)
pure virtual

Called after AST-parsing is completed.

◆ initialize()

virtual void clang::TemplateInstantiationCallback::initialize ( const Sema TheSema)
pure virtual

Called before doing AST-parsing.


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