LLDB mainline
lldb_private::TypeImpl Class Reference

#include <Type.h>

Public Member Functions

 TypeImpl ()=default
 ~TypeImpl ()=default
 TypeImpl (const lldb::TypeSP &type_sp)
 TypeImpl (const CompilerType &compiler_type)
 TypeImpl (const lldb::TypeSP &type_sp, const CompilerType &dynamic)
 TypeImpl (const CompilerType &compiler_type, const CompilerType &dynamic)
void SetType (const lldb::TypeSP &type_sp)
void SetType (const CompilerType &compiler_type)
void SetType (const lldb::TypeSP &type_sp, const CompilerType &dynamic)
void SetType (const CompilerType &compiler_type, const CompilerType &dynamic)
bool operator== (const TypeImpl &rhs) const
bool operator!= (const TypeImpl &rhs) const
bool IsValid () const
 operator bool () const
void Clear ()
lldb::ModuleSP GetModule () const
ConstString GetName () const
ConstString GetDisplayTypeName () const
TypeImpl GetPointerType () const
TypeImpl GetPointeeType () const
TypeImpl GetReferenceType () const
TypeImpl GetTypedefedType () const
TypeImpl GetDereferencedType () const
TypeImpl GetUnqualifiedType () const
TypeImpl GetCanonicalType () const
CompilerType GetCompilerType (bool prefer_dynamic)
CompilerType::TypeSystemSPWrapper GetTypeSystem (bool prefer_dynamic)
bool GetDescription (lldb_private::Stream &strm, lldb::DescriptionLevel description_level)
CompilerType FindDirectNestedType (llvm::StringRef name)

Private Member Functions

bool CheckModule (lldb::ModuleSP &module_sp) const
bool CheckExeModule (lldb::ModuleSP &module_sp) const
bool CheckModuleCommon (const lldb::ModuleWP &input_module_wp, lldb::ModuleSP &module_sp) const

Private Attributes

lldb::ModuleWP m_module_wp
lldb::ModuleWP m_exe_module_wp
CompilerType m_static_type
CompilerType m_dynamic_type

Detailed Description

Definition at line 625 of file include/lldb/Symbol/Type.h.

Constructor & Destructor Documentation

◆ TypeImpl() [1/5]

◆ ~TypeImpl()

lldb_private::TypeImpl::~TypeImpl ( )
default

References TypeImpl().

◆ TypeImpl() [2/5]

TypeImpl::TypeImpl ( const lldb::TypeSP & type_sp)

Definition at line 955 of file Symbol/Type.cpp.

References m_dynamic_type, m_module_wp, m_static_type, and SetType().

◆ TypeImpl() [3/5]

TypeImpl::TypeImpl ( const CompilerType & compiler_type)

Definition at line 960 of file Symbol/Type.cpp.

References m_dynamic_type, m_module_wp, m_static_type, and SetType().

◆ TypeImpl() [4/5]

TypeImpl::TypeImpl ( const lldb::TypeSP & type_sp,
const CompilerType & dynamic )

Definition at line 965 of file Symbol/Type.cpp.

References m_dynamic_type, m_module_wp, m_static_type, and SetType().

◆ TypeImpl() [5/5]

TypeImpl::TypeImpl ( const CompilerType & compiler_type,
const CompilerType & dynamic )

Definition at line 970 of file Symbol/Type.cpp.

References m_dynamic_type, m_module_wp, m_static_type, and SetType().

Member Function Documentation

◆ CheckExeModule()

bool TypeImpl::CheckExeModule ( lldb::ModuleSP & module_sp) const
private

Definition at line 1009 of file Symbol/Type.cpp.

References CheckModuleCommon(), and m_exe_module_wp.

Referenced by GetModule().

◆ CheckModule()

◆ CheckModuleCommon()

bool TypeImpl::CheckModuleCommon ( const lldb::ModuleWP & input_module_wp,
lldb::ModuleSP & module_sp ) const
private

Definition at line 1013 of file Symbol/Type.cpp.

Referenced by CheckExeModule(), and CheckModule().

◆ Clear()

void TypeImpl::Clear ( )

Definition at line 1061 of file Symbol/Type.cpp.

References m_dynamic_type, m_module_wp, and m_static_type.

◆ FindDirectNestedType()

CompilerType TypeImpl::FindDirectNestedType ( llvm::StringRef name)

◆ GetCanonicalType()

TypeImpl TypeImpl::GetCanonicalType ( ) const

Definition at line 1166 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, m_static_type, and TypeImpl().

◆ GetCompilerType()

CompilerType TypeImpl::GetCompilerType ( bool prefer_dynamic)

Definition at line 1178 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, and m_static_type.

Referenced by FindDirectNestedType().

◆ GetDereferencedType()

TypeImpl TypeImpl::GetDereferencedType ( ) const

Definition at line 1142 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, m_static_type, and TypeImpl().

◆ GetDescription()

bool TypeImpl::GetDescription ( lldb_private::Stream & strm,
lldb::DescriptionLevel description_level )

◆ GetDisplayTypeName()

ConstString TypeImpl::GetDisplayTypeName ( ) const

Definition at line 1084 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, and m_static_type.

◆ GetModule()

ModuleSP TypeImpl::GetModule ( ) const

Definition at line 1067 of file Symbol/Type.cpp.

References CheckExeModule().

◆ GetName()

ConstString TypeImpl::GetName ( ) const

Definition at line 1074 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, and m_static_type.

◆ GetPointeeType()

TypeImpl TypeImpl::GetPointeeType ( ) const

Definition at line 1106 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, m_static_type, and TypeImpl().

◆ GetPointerType()

TypeImpl TypeImpl::GetPointerType ( ) const

Definition at line 1094 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, m_static_type, and TypeImpl().

◆ GetReferenceType()

TypeImpl TypeImpl::GetReferenceType ( ) const

Definition at line 1118 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, m_static_type, and TypeImpl().

◆ GetTypedefedType()

TypeImpl TypeImpl::GetTypedefedType ( ) const

Definition at line 1130 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, m_static_type, and TypeImpl().

◆ GetTypeSystem()

CompilerType::TypeSystemSPWrapper TypeImpl::GetTypeSystem ( bool prefer_dynamic)

Definition at line 1190 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, and m_static_type.

◆ GetUnqualifiedType()

TypeImpl TypeImpl::GetUnqualifiedType ( ) const

Definition at line 1154 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, m_static_type, and TypeImpl().

◆ IsValid()

bool TypeImpl::IsValid ( ) const

Definition at line 1051 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, and m_static_type.

Referenced by operator bool().

◆ operator bool()

TypeImpl::operator bool ( ) const
explicit

Definition at line 1059 of file Symbol/Type.cpp.

References IsValid().

◆ operator!=()

bool TypeImpl::operator!= ( const TypeImpl & rhs) const

Definition at line 1047 of file Symbol/Type.cpp.

References TypeImpl().

◆ operator==()

bool TypeImpl::operator== ( const TypeImpl & rhs) const

Definition at line 1042 of file Symbol/Type.cpp.

References m_dynamic_type, m_static_type, and TypeImpl().

◆ SetType() [1/4]

void TypeImpl::SetType ( const CompilerType & compiler_type)

Definition at line 987 of file Symbol/Type.cpp.

References m_module_wp, and m_static_type.

◆ SetType() [2/4]

void TypeImpl::SetType ( const CompilerType & compiler_type,
const CompilerType & dynamic )

Definition at line 998 of file Symbol/Type.cpp.

References m_dynamic_type, m_module_wp, and m_static_type.

◆ SetType() [3/4]

void TypeImpl::SetType ( const lldb::TypeSP & type_sp)

◆ SetType() [4/4]

void TypeImpl::SetType ( const lldb::TypeSP & type_sp,
const CompilerType & dynamic )

Definition at line 992 of file Symbol/Type.cpp.

References m_dynamic_type, and SetType().

Member Data Documentation

◆ m_dynamic_type

◆ m_exe_module_wp

lldb::ModuleWP lldb_private::TypeImpl::m_exe_module_wp
private

Definition at line 693 of file include/lldb/Symbol/Type.h.

Referenced by CheckExeModule(), and SetType().

◆ m_module_wp

lldb::ModuleWP lldb_private::TypeImpl::m_module_wp
private

◆ m_static_type


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