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 176 of file ASTUtils.h.
|
inline |
Definition at line 181 of file ASTUtils.h.
|
overridedefault |
|
inlineoverride |
Definition at line 231 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 227 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Inform the semantic consumer that Sema is no longer available.
Definition at line 259 of file ASTUtils.h.
References m_sc.
|
inlineoverride |
Definition at line 247 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 243 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 215 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 235 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 223 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 195 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 199 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 207 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 211 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 191 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 219 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 203 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 239 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 187 of file ASTUtils.h.
References m_c.
|
inlineoverride |
Definition at line 253 of file ASTUtils.h.
References m_sc.
|
override |
Definition at line 19 of file ASTUtils.cpp.
|
inlineoverride |
Definition at line 264 of file ASTUtils.h.
References m_c.
|
private |
Definition at line 177 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 178 of file ASTUtils.h.
Referenced by ASTConsumerForwarder(), ForgetSema(), and InitializeSema().