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
- public virtual void ForgetSema()
- public virtual void InitializeSema(clang::Sema & S)
- public SemaConsumer()
- private virtual void anchor()
- public static bool classof(const clang::ASTConsumer * Consumer)
Inherited from ASTConsumer:
- public AssignInheritanceModel
- public CompleteExternalDeclaration
- public CompleteTentativeDefinition
- public GetASTDeserializationListener
- public GetASTMutationListener
- public HandleCXXImplicitFunctionInstantiation
- public HandleCXXStaticMemberVarInstantiation
- public HandleImplicitImportDecl
- public HandleInlineFunctionDefinition
- public HandleInterestingDecl
- public HandleTagDeclDefinition
- public HandleTagDeclRequiredDefinition
- public HandleTopLevelDecl
- public HandleTopLevelDeclInObjCContainer
- public HandleTranslationUnit
- public HandleVTable
- public Initialize
- public PrintStats
- public shouldSkipFunctionBody
Methods
¶virtual void ForgetSema()
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)
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()
SemaConsumer()
Declared at: clang/include/clang/Sema/SemaConsumer.h:28
¶virtual void anchor()
virtual void anchor()
Declared at: clang/include/clang/Sema/SemaConsumer.h:26
¶static bool classof(
const clang::ASTConsumer* Consumer)
static bool classof(
const clang::ASTConsumer* Consumer)
Declared at: clang/include/clang/Sema/SemaConsumer.h:41
Parameters
- const clang::ASTConsumer* Consumer