LLDB mainline
|
Wraps an ASTConsumer into an SemaConsumer. More...
#include <ASTUtils.h>
Public Member Functions | |
ASTConsumerForwarder (clang::ASTConsumer *c) | |
~ASTConsumerForwarder () override | |
void | Initialize (clang::ASTContext &Context) override |
bool | HandleTopLevelDecl (clang::DeclGroupRef D) override |
void | HandleInlineFunctionDefinition (clang::FunctionDecl *D) override |
void | HandleInterestingDecl (clang::DeclGroupRef D) override |
void | HandleTranslationUnit (clang::ASTContext &Ctx) override |
void | HandleTagDeclDefinition (clang::TagDecl *D) override |
void | HandleTagDeclRequiredDefinition (const clang::TagDecl *D) override |
void | HandleCXXImplicitFunctionInstantiation (clang::FunctionDecl *D) override |
void | HandleTopLevelDeclInObjCContainer (clang::DeclGroupRef D) override |
void | HandleImplicitImportDecl (clang::ImportDecl *D) override |
void | CompleteTentativeDefinition (clang::VarDecl *D) override |
void | AssignInheritanceModel (clang::CXXRecordDecl *RD) override |
void | HandleCXXStaticMemberVarInstantiation (clang::VarDecl *D) override |
void | HandleVTable (clang::CXXRecordDecl *RD) override |
clang::ASTMutationListener * | GetASTMutationListener () override |
clang::ASTDeserializationListener * | GetASTDeserializationListener () override |
void | PrintStats () override |
void | InitializeSema (clang::Sema &S) override |
void | ForgetSema () override |
Inform the semantic consumer that Sema is no longer available. | |
bool | shouldSkipFunctionBody (clang::Decl *D) override |
Private Attributes | |
clang::ASTConsumer * | m_c |
clang::SemaConsumer * | m_sc |
Wraps an ASTConsumer into an SemaConsumer.
Doesn't take ownership of the provided consumer. If the provided ASTConsumer is also a SemaConsumer, the wrapper will also forward SemaConsumer functions.
Definition at line 165 of file ASTUtils.h.
|
inline |
Definition at line 170 of file ASTUtils.h.
|
overridedefault |
|
inlineoverride |
Definition at line 220 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 216 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Inform the semantic consumer that Sema is no longer available.
Definition at line 248 of file ASTUtils.h.
References m_sc.
|
inlineoverride |
Definition at line 236 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 232 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 204 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 224 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 212 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 184 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 188 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 196 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 200 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 180 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 208 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 192 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 228 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 176 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 242 of file ASTUtils.h.
References m_sc.
|
override |
Definition at line 19 of file ASTUtils.cpp.
|
inlineoverride |
Definition at line 253 of file ASTUtils.h.
References m_c.
|
private |
Definition at line 166 of file ASTUtils.h.
Referenced by AssignInheritanceModel(), ASTConsumerForwarder(), CompleteTentativeDefinition(), GetASTDeserializationListener(), GetASTMutationListener(), HandleCXXImplicitFunctionInstantiation(), HandleCXXStaticMemberVarInstantiation(), HandleImplicitImportDecl(), HandleInlineFunctionDefinition(), HandleInterestingDecl(), HandleTagDeclDefinition(), HandleTagDeclRequiredDefinition(), HandleTopLevelDecl(), HandleTopLevelDeclInObjCContainer(), HandleTranslationUnit(), HandleVTable(), Initialize(), and shouldSkipFunctionBody().
|
private |
Definition at line 167 of file ASTUtils.h.
Referenced by ASTConsumerForwarder(), ForgetSema(), and InitializeSema().