class SemaConsumer

Declaration

class SemaConsumer : public ASTConsumer { /* full declaration omitted */ };

Description

An abstract interface that should be implemented by clients that read ASTs and then require further semantic analysis of the entities in those ASTs.

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

Inherits from: ASTConsumer

Member Variables

Method Overview

Inherited from ASTConsumer:

Methods

virtual void ForgetSema()

Description

Inform the semantic consumer that Sema is no longer available.

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

virtual void InitializeSema(clang::Sema& S)

Description

Initialize the semantic consumer with the Sema instance being used to perform semantic analysis on the abstract syntax tree.

Declared at: clang/include/clang/Sema/SemaConsumer.h:35

Parameters

clang::Sema& S

SemaConsumer()

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

virtual void anchor()

Declared at: clang/include/clang/Sema/SemaConsumer.h:26

static bool classof(
    const clang::ASTConsumer* Consumer)

Declared at: clang/include/clang/Sema/SemaConsumer.h:41

Parameters

const clang::ASTConsumer* Consumer