LLDB mainline
|
#include <ClangUserExpression.h>
Public Member Functions | |
ClangUserExpressionHelper (Target &target, bool top_level) | |
~ClangUserExpressionHelper () override=default | |
ClangExpressionDeclMap * | DeclMap () override |
Return the object that the parser should use when resolving external values. | |
void | ResetDeclMap () |
void | ResetDeclMap (ExecutionContext &exe_ctx, Materializer::PersistentVariableDelegate &result_delegate, bool keep_result_in_memory, ValueObject *ctx_obj) |
clang::ASTConsumer * | ASTTransformer (clang::ASTConsumer *passthrough) override |
Return the object that the parser should allow to access ASTs. | |
void | CommitPersistentDecls () override |
![]() | |
ClangExpressionHelper () | |
virtual | ~ClangExpressionHelper ()=default |
Destructor. | |
virtual ClangExpressionDeclMap * | DeclMap ()=0 |
Return the object that the parser should use when resolving external values. | |
virtual clang::ASTConsumer * | ASTTransformer (clang::ASTConsumer *passthrough)=0 |
Return the object that the parser should allow to access ASTs. | |
virtual void | CommitPersistentDecls () |
![]() | |
LLVMCastKind | getKind () const |
ExpressionTypeSystemHelper (LLVMCastKind kind) | |
~ExpressionTypeSystemHelper ()=default | |
Private Attributes | |
Target & | m_target |
std::unique_ptr< ClangExpressionDeclMap > | m_expr_decl_map_up |
std::unique_ptr< ASTStructExtractor > | m_struct_extractor_up |
The class that generates the argument struct layout. | |
std::unique_ptr< ASTResultSynthesizer > | m_result_synthesizer_up |
bool | m_top_level |
Additional Inherited Members | |
![]() | |
enum | LLVMCastKind { eKindClangHelper , eKindSwiftHelper , eKindGoHelper , kNumKinds } |
![]() | |
static bool | classof (const ExpressionTypeSystemHelper *ts) |
![]() | |
LLVMCastKind | m_kind |
Definition at line 54 of file ClangUserExpression.h.
|
inline |
Definition at line 56 of file ClangUserExpression.h.
|
overridedefault |
|
overridevirtual |
Return the object that the parser should allow to access ASTs.
May be NULL if the ASTs do not need to be transformed.
[in] | passthrough | The ASTConsumer that the returned transformer should send the ASTs to after transformation. |
Implements lldb_private::ClangExpressionHelper.
Definition at line 1002 of file ClangUserExpression.cpp.
References lldb_private::LLVMUserExpression::m_target.
|
overridevirtual |
Reimplemented from lldb_private::ClangExpressionHelper.
Definition at line 1010 of file ClangUserExpression.cpp.
|
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 63 of file ClangUserExpression.h.
References m_expr_decl_map_up.
Referenced by lldb_private::ClangUserExpression::DeclMap().
|
inline |
Definition at line 67 of file ClangUserExpression.h.
References m_expr_decl_map_up.
Referenced by lldb_private::ClangUserExpression::ResetDeclMap().
void ClangUserExpression::ClangUserExpressionHelper::ResetDeclMap | ( | ExecutionContext & | exe_ctx, |
Materializer::PersistentVariableDelegate & | result_delegate, | ||
bool | keep_result_in_memory, | ||
ValueObject * | ctx_obj | ||
) |
Definition at line 984 of file ClangUserExpression.cpp.
References lldb::eLanguageTypeC, lldb_private::ExecutionContext::GetTargetSP(), and m_expr_decl_map_up.
|
private |
Definition at line 87 of file ClangUserExpression.h.
Referenced by DeclMap(), and ResetDeclMap().
|
private |
Definition at line 92 of file ClangUserExpression.h.
|
private |
The class that generates the argument struct layout.
Definition at line 88 of file ClangUserExpression.h.
|
private |
Definition at line 86 of file ClangUserExpression.h.
|
private |
Definition at line 93 of file ClangUserExpression.h.