LLDB mainline
|
#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) |
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 |
|
default |
|
default |
TypeImpl::TypeImpl | ( | const lldb::TypeSP & | type_sp | ) |
TypeImpl::TypeImpl | ( | const CompilerType & | compiler_type | ) |
TypeImpl::TypeImpl | ( | const lldb::TypeSP & | type_sp, |
const CompilerType & | dynamic | ||
) |
TypeImpl::TypeImpl | ( | const CompilerType & | compiler_type, |
const CompilerType & | dynamic | ||
) |
|
private |
Definition at line 875 of file Type.cpp.
References CheckModuleCommon(), and m_exe_module_wp.
Referenced by GetModule().
|
private |
Definition at line 871 of file Type.cpp.
References CheckModuleCommon(), and m_module_wp.
Referenced by GetCanonicalType(), GetCompilerType(), GetDereferencedType(), GetDescription(), GetDisplayTypeName(), GetName(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTypedefedType(), GetTypeSystem(), GetUnqualifiedType(), and IsValid().
|
private |
Definition at line 879 of file Type.cpp.
Referenced by CheckExeModule(), and CheckModule().
void TypeImpl::Clear | ( | ) |
Definition at line 927 of file Type.cpp.
References lldb_private::CompilerType::Clear(), m_dynamic_type, m_module_wp, and m_static_type.
Referenced by lldb_private::ValueObjectDynamicValue::UpdateValue().
TypeImpl TypeImpl::GetCanonicalType | ( | ) | const |
Definition at line 1032 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetCanonicalType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
CompilerType TypeImpl::GetCompilerType | ( | bool | prefer_dynamic | ) |
Definition at line 1044 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::IsValid(), m_dynamic_type, and m_static_type.
TypeImpl TypeImpl::GetDereferencedType | ( | ) | const |
Definition at line 1008 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetNonReferenceType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
bool TypeImpl::GetDescription | ( | lldb_private::Stream & | strm, |
lldb::DescriptionLevel | description_level | ||
) |
Definition at line 1068 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::DumpTypeDescription(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
ConstString TypeImpl::GetDisplayTypeName | ( | ) | const |
Definition at line 950 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetDisplayTypeName(), m_dynamic_type, and m_static_type.
ModuleSP TypeImpl::GetModule | ( | ) | const |
Definition at line 933 of file Type.cpp.
References CheckExeModule().
ConstString TypeImpl::GetName | ( | ) | const |
Definition at line 940 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetTypeName(), m_dynamic_type, and m_static_type.
TypeImpl TypeImpl::GetPointeeType | ( | ) | const |
Definition at line 972 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetPointeeType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
TypeImpl TypeImpl::GetPointerType | ( | ) | const |
Definition at line 960 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetPointerType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
TypeImpl TypeImpl::GetReferenceType | ( | ) | const |
Definition at line 984 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetLValueReferenceType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
TypeImpl TypeImpl::GetTypedefedType | ( | ) | const |
Definition at line 996 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetTypedefedType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
CompilerType::TypeSystemSPWrapper TypeImpl::GetTypeSystem | ( | bool | prefer_dynamic | ) |
Definition at line 1056 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetTypeSystem(), lldb_private::CompilerType::IsValid(), m_dynamic_type, and m_static_type.
TypeImpl TypeImpl::GetUnqualifiedType | ( | ) | const |
Definition at line 1020 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetFullyUnqualifiedType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
bool TypeImpl::IsValid | ( | ) | const |
Definition at line 917 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::IsValid(), m_dynamic_type, and m_static_type.
Referenced by lldb_private::ValueObjectDynamicValue::GetTypeImpl().
bool TypeImpl::operator== | ( | const TypeImpl & | rhs | ) | const |
Definition at line 908 of file Type.cpp.
References m_dynamic_type, and m_static_type.
void TypeImpl::SetType | ( | const CompilerType & | compiler_type | ) |
Definition at line 853 of file Type.cpp.
References m_module_wp, and m_static_type.
void TypeImpl::SetType | ( | const CompilerType & | compiler_type, |
const CompilerType & | dynamic | ||
) |
Definition at line 864 of file Type.cpp.
References m_dynamic_type, m_module_wp, and m_static_type.
void TypeImpl::SetType | ( | const lldb::TypeSP & | type_sp | ) |
Definition at line 842 of file Type.cpp.
References lldb_private::CompilerType::Clear(), m_exe_module_wp, m_module_wp, and m_static_type.
Referenced by lldb::SBFunction::GetType(), SetType(), and TypeImpl().
void TypeImpl::SetType | ( | const lldb::TypeSP & | type_sp, |
const CompilerType & | dynamic | ||
) |
Definition at line 858 of file Type.cpp.
References m_dynamic_type, and SetType().
|
private |
Definition at line 325 of file Type.h.
Referenced by Clear(), GetCanonicalType(), GetCompilerType(), GetDereferencedType(), GetDescription(), GetDisplayTypeName(), GetName(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTypedefedType(), GetTypeSystem(), GetUnqualifiedType(), IsValid(), operator==(), and SetType().
|
private |
Definition at line 323 of file Type.h.
Referenced by CheckExeModule(), and SetType().
|
private |
Definition at line 322 of file Type.h.
Referenced by CheckModule(), Clear(), and SetType().
|
private |
Definition at line 324 of file Type.h.
Referenced by Clear(), GetCanonicalType(), GetCompilerType(), GetDereferencedType(), GetDescription(), GetDisplayTypeName(), GetName(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTypedefedType(), GetTypeSystem(), GetUnqualifiedType(), IsValid(), operator==(), and SetType().