LLDB mainline
|
Public Member Functions | |
ClangUtilityFunctionHelper ()=default | |
~ClangUtilityFunctionHelper () override=default | |
ClangExpressionDeclMap * | DeclMap () override |
Return the object that the parser should use when resolving external values. | |
void | ResetDeclMap () |
void | ResetDeclMap (ExecutionContext &exe_ctx, bool keep_result_in_memory) |
clang::ASTConsumer * | ASTTransformer (clang::ASTConsumer *passthrough) override |
Return the object that the parser should allow to access ASTs. | |
![]() | |
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 | |
std::unique_ptr< ClangExpressionDeclMap > | m_expr_decl_map_up |
Additional Inherited Members | |
![]() | |
enum | LLVMCastKind { eKindClangHelper , eKindSwiftHelper , eKindGoHelper , kNumKinds } |
![]() | |
static bool | classof (const ExpressionTypeSystemHelper *ts) |
![]() | |
LLVMCastKind | m_kind |
Definition at line 75 of file ClangUtilityFunction.h.
|
default |
|
overridedefault |
|
inlineoverridevirtual |
Return the object that the parser should allow to access ASTs.
May be nullptr 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 98 of file ClangUtilityFunction.h.
|
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 83 of file ClangUtilityFunction.h.
References m_expr_decl_map_up.
Referenced by lldb_private::ClangUtilityFunction::DeclMap().
|
inline |
Definition at line 87 of file ClangUtilityFunction.h.
References m_expr_decl_map_up.
Referenced by lldb_private::ClangUtilityFunction::ResetDeclMap().
void ClangUtilityFunction::ClangUtilityFunctionHelper::ResetDeclMap | ( | ExecutionContext & | exe_ctx, |
bool | keep_result_in_memory | ||
) |
Definition at line 179 of file ClangUtilityFunction.cpp.
References lldb::eLanguageTypeC, lldb_private::ExecutionContext::GetTargetSP(), and m_expr_decl_map_up.
|
private |
Definition at line 103 of file ClangUtilityFunction.h.
Referenced by DeclMap(), and ResetDeclMap().