LLDB  mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper Class Reference
Inheritance diagram for lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper:
Collaboration graph
[legend]

Public Member Functions

 ClangFunctionCallerHelper (ClangFunctionCaller &owner)
 
 ~ClangFunctionCallerHelper () override=default
 
ClangExpressionDeclMapDeclMap () override
 Return the object that the parser should use when resolving external values. More...
 
clang::ASTConsumer * ASTTransformer (clang::ASTConsumer *passthrough) override
 Return the object that the parser should allow to access ASTs. More...
 
- Public Member Functions inherited from lldb_private::ClangExpressionHelper
 ClangExpressionHelper ()
 
virtual ~ClangExpressionHelper ()=default
 Destructor. More...
 
virtual void CommitPersistentDecls ()
 
- Public Member Functions inherited from lldb_private::ExpressionTypeSystemHelper
LLVMCastKind getKind () const
 
 ExpressionTypeSystemHelper (LLVMCastKind kind)
 
 ~ExpressionTypeSystemHelper ()=default
 

Private Attributes

ClangFunctionCallerm_owner
 
std::unique_ptr< ASTStructExtractorm_struct_extractor
 The class that generates the argument struct layout. More...
 

Additional Inherited Members

- Public Types inherited from lldb_private::ExpressionTypeSystemHelper
enum  LLVMCastKind { eKindClangHelper, eKindSwiftHelper, eKindGoHelper, kNumKinds }
 
- Static Public Member Functions inherited from lldb_private::ClangExpressionHelper
static bool classof (const ExpressionTypeSystemHelper *ts)
 
- Protected Attributes inherited from lldb_private::ExpressionTypeSystemHelper
LLVMCastKind m_kind
 

Detailed Description

Definition at line 61 of file ClangFunctionCaller.h.

Constructor & Destructor Documentation

◆ ClangFunctionCallerHelper()

lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper::ClangFunctionCallerHelper ( ClangFunctionCaller owner)
inline

Definition at line 63 of file ClangFunctionCaller.h.

◆ ~ClangFunctionCallerHelper()

lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper::~ClangFunctionCallerHelper ( )
overridedefault

Member Function Documentation

◆ ASTTransformer()

clang::ASTConsumer * ClangFunctionCaller::ClangFunctionCallerHelper::ASTTransformer ( clang::ASTConsumer *  passthrough)
overridevirtual

Return the object that the parser should allow to access ASTs.

May be NULL if the ASTs do not need to be transformed.

Parameters
[in]passthroughThe ASTConsumer that the returned transformer should send the ASTs to after transformation.

Implements lldb_private::ClangExpressionHelper.

Definition at line 210 of file ClangFunctionCaller.cpp.

References lldb_private::ClangFunctionCaller::GetWrapperStructName(), m_owner, and m_struct_extractor.

◆ DeclMap()

ClangExpressionDeclMap* lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper::DeclMap ( )
inlineoverridevirtual

Return the object that the parser should use when resolving external values.

May be NULL if everything should be self-contained.

Implements lldb_private::ClangExpressionHelper.

Definition at line 69 of file ClangFunctionCaller.h.

Member Data Documentation

◆ m_owner

ClangFunctionCaller& lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper::m_owner
private

Definition at line 81 of file ClangFunctionCaller.h.

Referenced by ASTTransformer().

◆ m_struct_extractor

std::unique_ptr<ASTStructExtractor> lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper::m_struct_extractor
private

The class that generates the argument struct layout.

Definition at line 82 of file ClangFunctionCaller.h.

Referenced by ASTTransformer().


The documentation for this class was generated from the following files: