LLDB mainline
|
#include <ClangUserExpression.h>
Public Member Functions | |
ClangUserExpressionHelper (Target &target, bool top_level) | |
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 |
Static Public Attributes | |
static char | ID |
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 |
Definition at line 54 of file ClangUserExpression.h.
|
inline |
Definition at line 61 of file ClangUserExpression.h.
References m_target, and m_top_level.
|
override |
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. |
Definition at line 974 of file ClangUserExpression.cpp.
References m_result_synthesizer_up, m_target, and m_top_level.
|
override |
Definition at line 982 of file ClangUserExpression.cpp.
References m_result_synthesizer_up.
|
inlineoverride |
Return the object that the parser should use when resolving external values.
May be NULL if everything should be self-contained.
Definition at line 66 of file ClangUserExpression.h.
References m_expr_decl_map_up.
|
inline |
Definition at line 70 of file ClangUserExpression.h.
References m_expr_decl_map_up.
void ClangUserExpression::ClangUserExpressionHelper::ResetDeclMap | ( | ExecutionContext & | exe_ctx, |
Materializer::PersistentVariableDelegate & | result_delegate, | ||
bool | keep_result_in_memory, | ||
ValueObject * | ctx_obj ) |
Definition at line 956 of file ClangUserExpression.cpp.
References lldb::eLanguageTypeC, lldb_private::ExecutionContext::GetTargetSP(), and m_expr_decl_map_up.
|
static |
Definition at line 59 of file ClangUserExpression.h.
|
private |
Definition at line 90 of file ClangUserExpression.h.
Referenced by DeclMap(), ResetDeclMap(), and ResetDeclMap().
|
private |
Definition at line 95 of file ClangUserExpression.h.
Referenced by ASTTransformer(), and CommitPersistentDecls().
|
private |
The class that generates the argument struct layout.
Definition at line 91 of file ClangUserExpression.h.
|
private |
Definition at line 89 of file ClangUserExpression.h.
Referenced by ASTTransformer(), and ClangUserExpressionHelper().
|
private |
Definition at line 96 of file ClangUserExpression.h.
Referenced by ASTTransformer(), and ClangUserExpressionHelper().