clang  7.0.0svn
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. More...
 
virtual void finalize (const Sema &TheSema)=0
 Called after AST-parsing is completed. More...
 
virtual void atTemplateBegin (const Sema &TheSema, const Sema::CodeSynthesisContext &Inst)=0
 Called when instantiation of a template just began. More...
 
virtual void atTemplateEnd (const Sema &TheSema, const Sema::CodeSynthesisContext &Inst)=0
 Called when instantiation of a template is just about to end. More...
 

Detailed Description

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

Definition at line 24 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: