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 952 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 957 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 962 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 967 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 1006 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 1010 of file Symbol/Type.cpp.

Referenced by CheckExeModule(), and CheckModule().

◆ Clear()

void TypeImpl::Clear ( )

Definition at line 1058 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 1163 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 1175 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 1139 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 1081 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, and m_static_type.

◆ GetModule()

ModuleSP TypeImpl::GetModule ( ) const

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

References CheckExeModule().

◆ GetName()

ConstString TypeImpl::GetName ( ) const

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

References CheckModule(), m_dynamic_type, and m_static_type.

◆ GetPointeeType()

TypeImpl TypeImpl::GetPointeeType ( ) const

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

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

◆ GetPointerType()

TypeImpl TypeImpl::GetPointerType ( ) const

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

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

◆ GetReferenceType()

TypeImpl TypeImpl::GetReferenceType ( ) const

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

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

◆ GetTypedefedType()

TypeImpl TypeImpl::GetTypedefedType ( ) const

Definition at line 1127 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 1187 of file Symbol/Type.cpp.

References CheckModule(), m_dynamic_type, and m_static_type.

◆ GetUnqualifiedType()

TypeImpl TypeImpl::GetUnqualifiedType ( ) const

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

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

◆ IsValid()

bool TypeImpl::IsValid ( ) const

Definition at line 1048 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 1056 of file Symbol/Type.cpp.

References IsValid().

◆ operator!=()

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

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

References TypeImpl().

◆ operator==()

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

Definition at line 1039 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 984 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 995 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 989 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: