#include "clang/Frontend/MultiplexConsumer.h"
Definition at line 52 of file MultiplexConsumer.h.
◆ MultiplexConsumer() [1/2] MultiplexConsumer::MultiplexConsumer ( std::vector< std::unique_ptr< ASTConsumer > > C ) ◆ MultiplexConsumer() [2/2] MultiplexConsumer::MultiplexConsumer ( std::unique_ptr< ASTConsumer > C ) ◆ ~MultiplexConsumer() ◆ AssignInheritanceModel() void MultiplexConsumer::AssignInheritanceModel ( CXXRecordDecl * RD ) overridevirtual ◆ CompleteExternalDeclaration() void MultiplexConsumer::CompleteExternalDeclaration ( DeclaratorDecl * D ) overridevirtualCompleteExternalDeclaration - Callback invoked at the end of a translation unit to notify the consumer that the given external declaration should be completed.
Reimplemented from clang::ASTConsumer.
Definition at line 372 of file MultiplexConsumer.cpp.
◆ CompleteTentativeDefinition() void MultiplexConsumer::CompleteTentativeDefinition ( VarDecl * D ) overridevirtualCompleteTentativeDefinition - Callback invoked at the end of a translation unit to notify the consumer that the given tentative definition should be completed.
The variable declaration itself will be a tentative definition. If it had an incomplete array type, its type will have already been changed to an array of size 1. However, the declaration remains a tentative definition and has not been modified by the introduction of an implicit zero initializer.
Reimplemented from clang::ASTConsumer.
Definition at line 367 of file MultiplexConsumer.cpp.
◆ ForgetSema() void MultiplexConsumer::ForgetSema ( ) overridevirtual ◆ GetASTDeserializationListener() ◆ GetASTMutationListener() ◆ HandleCXXImplicitFunctionInstantiation() void MultiplexConsumer::HandleCXXImplicitFunctionInstantiation ( FunctionDecl * D ) overridevirtualInvoked when a function is implicitly instantiated.
Note that at this point it does not have a body, its body is instantiated at the end of the translation unit and passed to HandleTopLevelDecl.
Reimplemented from clang::ASTConsumer.
Definition at line 352 of file MultiplexConsumer.cpp.
◆ HandleCXXStaticMemberVarInstantiation() void MultiplexConsumer::HandleCXXStaticMemberVarInstantiation ( VarDecl * D ) overridevirtual ◆ HandleImplicitImportDecl() void MultiplexConsumer::HandleImplicitImportDecl ( ImportDecl * D ) overridevirtual ◆ HandleInlineFunctionDefinition() void MultiplexConsumer::HandleInlineFunctionDefinition ( FunctionDecl * D ) overridevirtual ◆ HandleInterestingDecl() void MultiplexConsumer::HandleInterestingDecl ( DeclGroupRef D ) overridevirtualHandleInterestingDecl - Handle the specified interesting declaration.
This is called by the AST reader when deserializing things that might interest the consumer. The default implementation forwards to HandleTopLevelDecl.
Reimplemented from clang::ASTConsumer.
Definition at line 332 of file MultiplexConsumer.cpp.
◆ HandleTagDeclDefinition() void MultiplexConsumer::HandleTagDeclDefinition ( TagDecl * D ) overridevirtualHandleTagDeclDefinition - This callback is invoked each time a TagDecl (e.g.
struct, union, enum, class) is completed. This allows the client to hack on the type, which can occur at any point in the file (because these can be defined in declspecs).
Reimplemented from clang::ASTConsumer.
Definition at line 342 of file MultiplexConsumer.cpp.
◆ HandleTagDeclRequiredDefinition() void MultiplexConsumer::HandleTagDeclRequiredDefinition ( const TagDecl * D ) overridevirtual ◆ HandleTopLevelDecl() ◆ HandleTopLevelDeclInObjCContainer() void MultiplexConsumer::HandleTopLevelDeclInObjCContainer ( DeclGroupRef D ) overridevirtual ◆ HandleTranslationUnit() void MultiplexConsumer::HandleTranslationUnit ( ASTContext & Ctx ) overridevirtual ◆ HandleVTable()Callback involved at the end of a translation unit to notify the consumer that a vtable for the given C++ class is required.
Reimplemented from clang::ASTConsumer.
Definition at line 382 of file MultiplexConsumer.cpp.
References Consumers.
◆ Initialize() void MultiplexConsumer::Initialize ( ASTContext & Context ) overridevirtual ◆ InitializeSema() void MultiplexConsumer::InitializeSema ( Sema & S ) overridevirtual ◆ PrintStats() void MultiplexConsumer::PrintStats ( ) overridevirtual ◆ shouldSkipFunctionBody() bool MultiplexConsumer::shouldSkipFunctionBody ( Decl * D ) overridevirtualThis callback is called for each function if the Parser was initialized with SkipFunctionBodies
set to true
.
true
if the function's body should be skipped. The function body may be parsed anyway if it is needed (for instance, if it contains the code completion point or is constexpr).
Reimplemented from clang::ASTConsumer.
Definition at line 400 of file MultiplexConsumer.cpp.
References Consumers, D, and clang::sema::Skip.
◆ Consumers std::vector<std::unique_ptr<ASTConsumer> > clang::MultiplexConsumer::Consumers protectedDefinition at line 85 of file MultiplexConsumer.h.
Referenced by AssignInheritanceModel(), CompleteExternalDeclaration(), CompleteTentativeDefinition(), ForgetSema(), HandleCXXImplicitFunctionInstantiation(), HandleCXXStaticMemberVarInstantiation(), HandleImplicitImportDecl(), HandleInlineFunctionDefinition(), HandleInterestingDecl(), HandleTagDeclDefinition(), HandleTagDeclRequiredDefinition(), HandleTopLevelDecl(), HandleTopLevelDeclInObjCContainer(), HandleTranslationUnit(), HandleVTable(), Initialize(), InitializeSema(), MultiplexConsumer(), PrintStats(), and shouldSkipFunctionBody().
◆ DeserializationListener ◆ MutationListenerThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4