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

Public Member Functions

 ClangUtilityFunctionHelper ()=default
 
 ~ClangUtilityFunctionHelper () override=default
 
ClangExpressionDeclMapDeclMap () override
 Return the object that the parser should use when resolving external values. More...
 
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. 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

std::unique_ptr< ClangExpressionDeclMapm_expr_decl_map_up
 

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 75 of file ClangUtilityFunction.h.

Constructor & Destructor Documentation

◆ ClangUtilityFunctionHelper()

lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper::ClangUtilityFunctionHelper ( )
default

◆ ~ClangUtilityFunctionHelper()

lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper::~ClangUtilityFunctionHelper ( )
overridedefault

Member Function Documentation

◆ ASTTransformer()

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

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.

Implements lldb_private::ClangExpressionHelper.

Definition at line 98 of file ClangUtilityFunction.h.

◆ DeclMap()

ClangExpressionDeclMap* lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper::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 83 of file ClangUtilityFunction.h.

References m_expr_decl_map_up.

Referenced by lldb_private::ClangUtilityFunction::DeclMap().

◆ ResetDeclMap() [1/2]

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

◆ ResetDeclMap() [2/2]

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

Member Data Documentation

◆ m_expr_decl_map_up

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

Definition at line 103 of file ClangUtilityFunction.h.

Referenced by DeclMap(), and ResetDeclMap().


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