LLDB mainline
lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper Class Reference
Inheritance diagram for lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper:
[legend]

Public Member Functions

ClangExpressionDeclMapDeclMap () 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.

Static Public Attributes

static char ID

Private Attributes

std::unique_ptr< ClangExpressionDeclMapm_expr_decl_map_up

Detailed Description

Definition at line 75 of file ClangUtilityFunction.h.

Member Function Documentation

◆ ASTTransformer()

clang::ASTConsumer * lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper::ASTTransformer ( clang::ASTConsumer * passthrough)
inlineoverride

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

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

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

Definition at line 99 of file ClangUtilityFunction.h.

◆ DeclMap()

ClangExpressionDeclMap * lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper::DeclMap ( )
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 84 of file ClangUtilityFunction.h.

References m_expr_decl_map_up.

◆ ResetDeclMap() [1/2]

void lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper::ResetDeclMap ( )
inline

Definition at line 88 of file ClangUtilityFunction.h.

References m_expr_decl_map_up.

◆ ResetDeclMap() [2/2]

void ClangUtilityFunction::ClangUtilityFunctionHelper::ResetDeclMap ( ExecutionContext & exe_ctx,
bool keep_result_in_memory )

Member Data Documentation

◆ ID

char ClangUtilityFunction::ClangUtilityFunctionHelper::ID
static

Definition at line 80 of file ClangUtilityFunction.h.

◆ m_expr_decl_map_up

std::unique_ptr<ClangExpressionDeclMap> lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper::m_expr_decl_map_up
private

Definition at line 104 of file ClangUtilityFunction.h.

Referenced by DeclMap(), ResetDeclMap(), and ResetDeclMap().


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