LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::TypeImpl Class Reference

#include <Type.h>

Collaboration diagram for lldb_private::TypeImpl:
Collaboration graph
[legend]

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)
 
TypeSystemGetTypeSystem (bool prefer_dynamic)
 
bool GetDescription (lldb_private::Stream &strm, lldb::DescriptionLevel description_level)
 

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 238 of file Type.h.

Constructor & Destructor Documentation

◆ TypeImpl() [1/5]

lldb_private::TypeImpl::TypeImpl ( )
default

◆ ~TypeImpl()

lldb_private::TypeImpl::~TypeImpl ( )
default

◆ TypeImpl() [2/5]

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

Definition at line 807 of file Type.cpp.

References SetType().

◆ TypeImpl() [3/5]

TypeImpl::TypeImpl ( const CompilerType compiler_type)

Definition at line 812 of file Type.cpp.

References SetType().

◆ TypeImpl() [4/5]

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

Definition at line 817 of file Type.cpp.

References SetType().

◆ TypeImpl() [5/5]

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

Definition at line 822 of file Type.cpp.

References SetType().

Member Function Documentation

◆ CheckExeModule()

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

Definition at line 861 of file Type.cpp.

References CheckModuleCommon(), and m_exe_module_wp.

Referenced by GetModule().

◆ CheckModule()

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

◆ CheckModuleCommon()

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

Definition at line 865 of file Type.cpp.

Referenced by CheckExeModule(), and CheckModule().

◆ Clear()

void TypeImpl::Clear ( )

◆ GetCanonicalType()

TypeImpl TypeImpl::GetCanonicalType ( ) const

◆ GetCompilerType()

CompilerType TypeImpl::GetCompilerType ( bool  prefer_dynamic)

◆ GetDereferencedType()

TypeImpl TypeImpl::GetDereferencedType ( ) const

◆ GetDescription()

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

◆ GetDisplayTypeName()

ConstString TypeImpl::GetDisplayTypeName ( ) const

◆ GetModule()

ModuleSP TypeImpl::GetModule ( ) const

Definition at line 919 of file Type.cpp.

References CheckExeModule().

◆ GetName()

ConstString TypeImpl::GetName ( ) const

◆ GetPointeeType()

TypeImpl TypeImpl::GetPointeeType ( ) const

◆ GetPointerType()

TypeImpl TypeImpl::GetPointerType ( ) const

◆ GetReferenceType()

TypeImpl TypeImpl::GetReferenceType ( ) const

◆ GetTypedefedType()

TypeImpl TypeImpl::GetTypedefedType ( ) const

◆ GetTypeSystem()

TypeSystem * TypeImpl::GetTypeSystem ( bool  prefer_dynamic)

◆ GetUnqualifiedType()

TypeImpl TypeImpl::GetUnqualifiedType ( ) const

◆ IsValid()

bool TypeImpl::IsValid ( ) const

◆ operator bool()

TypeImpl::operator bool ( ) const
explicit

Definition at line 911 of file Type.cpp.

◆ operator!=()

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

Definition at line 899 of file Type.cpp.

◆ operator==()

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

Definition at line 894 of file Type.cpp.

References m_dynamic_type, and m_static_type.

◆ SetType() [1/4]

void TypeImpl::SetType ( const CompilerType compiler_type)

Definition at line 839 of file 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 850 of file 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 844 of file Type.cpp.

References m_dynamic_type, and SetType().

Member Data Documentation

◆ m_dynamic_type

CompilerType lldb_private::TypeImpl::m_dynamic_type
private

◆ m_exe_module_wp

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

Definition at line 304 of file Type.h.

Referenced by CheckExeModule(), and SetType().

◆ m_module_wp

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

Definition at line 303 of file Type.h.

Referenced by CheckModule(), Clear(), and SetType().

◆ m_static_type

CompilerType lldb_private::TypeImpl::m_static_type
private

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