class TemplateInstantiationCallback

Declaration

class TemplateInstantiationCallback { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Sema/TemplateInstCallback.h:23

Method Overview

Methods

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

Description

Called when instantiation of a template just began.

Declared at: clang/include/clang/Sema/TemplateInstCallback.h:34

Parameters

const clang::Sema& TheSema
const Sema::CodeSynthesisContext& Inst

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

Description

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

Declared at: clang/include/clang/Sema/TemplateInstCallback.h:38

Parameters

const clang::Sema& TheSema
const Sema::CodeSynthesisContext& Inst

virtual void finalize(const clang::Sema& TheSema)

Description

Called after AST-parsing is completed.

Declared at: clang/include/clang/Sema/TemplateInstCallback.h:31

Parameters

const clang::Sema& TheSema

virtual void initialize(
    const clang::Sema& TheSema)

Description

Called before doing AST-parsing.

Declared at: clang/include/clang/Sema/TemplateInstCallback.h:28

Parameters

const clang::Sema& TheSema

virtual ~TemplateInstantiationCallback()

Declared at: clang/include/clang/Sema/TemplateInstCallback.h:25