A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1MultiplexConsumer.html below:

clang: clang::MultiplexConsumer Class Reference

#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< ASTConsumerC ) ◆ ~MultiplexConsumer() ◆ AssignInheritanceModel() void MultiplexConsumer::AssignInheritanceModel ( CXXRecordDeclRD ) overridevirtual ◆ CompleteExternalDeclaration() void MultiplexConsumer::CompleteExternalDeclaration ( DeclaratorDeclD ) overridevirtual

CompleteExternalDeclaration - 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.

References Consumers, and D.

◆ CompleteTentativeDefinition() void MultiplexConsumer::CompleteTentativeDefinition ( VarDeclD ) overridevirtual

CompleteTentativeDefinition - 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.

References Consumers, and D.

◆ ForgetSema() void MultiplexConsumer::ForgetSema ( ) overridevirtual ◆ GetASTDeserializationListener() ◆ GetASTMutationListener() ◆ HandleCXXImplicitFunctionInstantiation() void MultiplexConsumer::HandleCXXImplicitFunctionInstantiation ( FunctionDeclD ) overridevirtual

Invoked 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.

References Consumers, and D.

◆ HandleCXXStaticMemberVarInstantiation() void MultiplexConsumer::HandleCXXStaticMemberVarInstantiation ( VarDeclD ) overridevirtual ◆ HandleImplicitImportDecl() void MultiplexConsumer::HandleImplicitImportDecl ( ImportDeclD ) overridevirtual ◆ HandleInlineFunctionDefinition() void MultiplexConsumer::HandleInlineFunctionDefinition ( FunctionDeclD ) overridevirtual ◆ HandleInterestingDecl() void MultiplexConsumer::HandleInterestingDecl ( DeclGroupRef  D ) overridevirtual

HandleInterestingDecl - 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.

References Consumers, and D.

◆ HandleTagDeclDefinition() void MultiplexConsumer::HandleTagDeclDefinition ( TagDeclD ) overridevirtual

HandleTagDeclDefinition - 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.

References Consumers, and D.

◆ HandleTagDeclRequiredDefinition() void MultiplexConsumer::HandleTagDeclRequiredDefinition ( const TagDeclD ) overridevirtual ◆ HandleTopLevelDecl() ◆ HandleTopLevelDeclInObjCContainer() void MultiplexConsumer::HandleTopLevelDeclInObjCContainer ( DeclGroupRef  D ) overridevirtual ◆ HandleTranslationUnit() void MultiplexConsumer::HandleTranslationUnit ( ASTContextCtx ) 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.

Parameters
RD The class whose vtable was used.

Reimplemented from clang::ASTConsumer.

Definition at line 382 of file MultiplexConsumer.cpp.

References Consumers.

◆ Initialize() void MultiplexConsumer::Initialize ( ASTContextContext ) overridevirtual ◆ InitializeSema() void MultiplexConsumer::InitializeSema ( SemaS ) overridevirtual ◆ PrintStats() void MultiplexConsumer::PrintStats ( ) overridevirtual ◆ shouldSkipFunctionBody() bool MultiplexConsumer::shouldSkipFunctionBody ( DeclD ) overridevirtual

This callback is called for each function if the Parser was initialized with SkipFunctionBodies set to true.

Returns
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 protected

Definition 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 ◆ MutationListener

The 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