|
clang 22.0.0git
|
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Interpreter/IncrementalAction.h"
Public Member Functions | |
| InProcessPrintingASTConsumer (std::unique_ptr< ASTConsumer > C, Interpreter &I) | |
| bool | HandleTopLevelDecl (DeclGroupRef DGR) override |
| HandleTopLevelDecl - Handle the specified top-level declaration. | |
| Public Member Functions inherited from clang::MultiplexConsumer | |
| MultiplexConsumer (std::vector< std::unique_ptr< ASTConsumer > > C) | |
| MultiplexConsumer (std::unique_ptr< ASTConsumer > C) | |
| ~MultiplexConsumer () override | |
| void | Initialize (ASTContext &Context) override |
| Initialize - This is called to initialize the consumer, providing the ASTContext. | |
| void | HandleCXXStaticMemberVarInstantiation (VarDecl *VD) override |
| HandleCXXStaticMemberVarInstantiation - Tell the consumer that this. | |
| bool | HandleTopLevelDecl (DeclGroupRef D) override |
| HandleTopLevelDecl - Handle the specified top-level declaration. | |
| void | HandleInlineFunctionDefinition (FunctionDecl *D) override |
| This callback is invoked each time an inline (method or friend) function definition in a class is completed. | |
| void | HandleInterestingDecl (DeclGroupRef D) override |
| HandleInterestingDecl - Handle the specified interesting declaration. | |
| void | HandleTranslationUnit (ASTContext &Ctx) override |
| HandleTranslationUnit - This method is called when the ASTs for entire translation unit have been parsed. | |
| void | HandleTagDeclDefinition (TagDecl *D) override |
| HandleTagDeclDefinition - This callback is invoked each time a TagDecl (e.g. | |
| void | HandleTagDeclRequiredDefinition (const TagDecl *D) override |
| This callback is invoked the first time each TagDecl is required to be complete. | |
| void | HandleCXXImplicitFunctionInstantiation (FunctionDecl *D) override |
| Invoked when a function is implicitly instantiated. | |
| void | HandleTopLevelDeclInObjCContainer (DeclGroupRef D) override |
| Handle the specified top-level declaration that occurred inside and ObjC container. | |
| void | HandleImplicitImportDecl (ImportDecl *D) override |
| Handle an ImportDecl that was implicitly created due to an inclusion directive. | |
| void | CompleteTentativeDefinition (VarDecl *D) override |
| CompleteTentativeDefinition - Callback invoked at the end of a translation unit to notify the consumer that the given tentative definition should be completed. | |
| void | CompleteExternalDeclaration (DeclaratorDecl *D) override |
| CompleteExternalDeclaration - Callback invoked at the end of a translation unit to notify the consumer that the given external declaration should be completed. | |
| void | AssignInheritanceModel (CXXRecordDecl *RD) override |
| Callback invoked when an MSInheritanceAttr has been attached to a CXXRecordDecl. | |
| void | HandleVTable (CXXRecordDecl *RD) override |
| Callback involved at the end of a translation unit to notify the consumer that a vtable for the given C++ class is required. | |
| ASTMutationListener * | GetASTMutationListener () override |
| If the consumer is interested in entities getting modified after their initial creation, it should return a pointer to an ASTMutationListener here. | |
| ASTDeserializationListener * | GetASTDeserializationListener () override |
| If the consumer is interested in entities being deserialized from AST files, it should return a pointer to a ASTDeserializationListener here. | |
| void | PrintStats () override |
| PrintStats - If desired, print any statistics. | |
| bool | shouldSkipFunctionBody (Decl *D) override |
This callback is called for each function if the Parser was initialized with SkipFunctionBodies set to true. | |
| void | InitializeSema (Sema &S) override |
| Initialize the semantic consumer with the Sema instance being used to perform semantic analysis on the abstract syntax tree. | |
| void | ForgetSema () override |
| Inform the semantic consumer that Sema is no longer available. | |
| Public Member Functions inherited from clang::SemaConsumer | |
| SemaConsumer () | |
| Public Member Functions inherited from clang::ASTConsumer | |
| ASTConsumer ()=default | |
| virtual | ~ASTConsumer () |
Additional Inherited Members | |
| Static Public Member Functions inherited from clang::SemaConsumer | |
| static bool | classof (const ASTConsumer *Consumer) |
| Protected Attributes inherited from clang::MultiplexConsumer | |
| std::vector< std::unique_ptr< ASTConsumer > > | Consumers |
| std::unique_ptr< MultiplexASTMutationListener > | MutationListener |
| std::unique_ptr< MultiplexASTDeserializationListener > | DeserializationListener |
Definition at line 79 of file IncrementalAction.h.
| clang::InProcessPrintingASTConsumer::InProcessPrintingASTConsumer | ( | std::unique_ptr< ASTConsumer > | C, |
| Interpreter & | I ) |
Definition at line 130 of file IncrementalAction.cpp.
References clang::C, and clang::MultiplexConsumer::MultiplexConsumer().
|
overridevirtual |
HandleTopLevelDecl - Handle the specified top-level declaration.
This is called by the parser to process every top-level Decl*.
Reimplemented from clang::ASTConsumer.
Definition at line 134 of file IncrementalAction.cpp.
References clang::cast(), clang::MultiplexConsumer::HandleTopLevelDecl(), and clang::DeclGroupRef::isNull().