LLDB mainline
|
#include <SBType.h>
Protected Member Functions | |
lldb_private::TypeImpl & | ref () |
const lldb_private::TypeImpl & | ref () const |
lldb::TypeImplSP | GetSP () |
void | SetSP (const lldb::TypeImplSP &type_impl_sp) |
SBType (const lldb_private::CompilerType &) | |
SBType (const lldb::TypeSP &) | |
SBType (const lldb::TypeImplSP &) | |
Protected Attributes | |
lldb::TypeImplSP | m_opaque_sp |
Friends | |
class | SBFunction |
class | SBModule |
class | SBTarget |
class | SBTypeEnumMember |
class | SBTypeEnumMemberList |
class | SBTypeNameSpecifier |
class | SBTypeMember |
class | SBTypeMemberFunction |
class | SBTypeStaticField |
class | SBTypeList |
class | SBValue |
class | SBWatchpoint |
class | lldb_private::python::SWIGBridge |
SBType::SBType | ( | ) |
Definition at line 35 of file SBType.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by FindDirectNestedType(), GetArrayElementType(), GetArrayType(), GetBasicType(), GetCanonicalType(), GetDereferencedType(), GetEnumerationIntegerType(), GetFunctionArgumentTypes(), GetFunctionReturnType(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTemplateArgumentType(), GetTypedefedType(), and GetUnqualifiedType().
SBType::SBType | ( | const lldb::SBType & | rhs | ) |
Definition at line 45 of file SBType.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
default |
|
protected |
Definition at line 37 of file SBType.cpp.
|
protected |
Definition at line 39 of file SBType.cpp.
|
protected |
Definition at line 42 of file SBType.cpp.
SBType SBType::FindDirectNestedType | ( | const char * | name | ) |
Definition at line 677 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
SBType SBType::GetArrayElementType | ( | ) |
Definition at line 209 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
SBType SBType::GetArrayType | ( | uint64_t | size | ) |
Definition at line 218 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
lldb::BasicType SBType::GetBasicType | ( | ) |
Definition at line 432 of file SBType.cpp.
References lldb::eBasicTypeInvalid, IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBType SBType::GetBasicType | ( | lldb::BasicType | type | ) |
Definition at line 440 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
uint64_t SBType::GetByteSize | ( | ) |
Definition at line 125 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
lldb::SBType SBType::GetCanonicalType | ( | ) |
Definition at line 414 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
SBType SBType::GetDereferencedType | ( | ) |
Definition at line 201 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
bool SBType::GetDescription | ( | lldb::SBStream & | description, |
lldb::DescriptionLevel | description_level | ||
) |
Definition at line 473 of file SBType.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
SBTypeMember SBType::GetDirectBaseClassAtIndex | ( | uint32_t | idx | ) |
Definition at line 487 of file SBType.cpp.
References IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBTypeMember::reset().
const char * SBType::GetDisplayTypeName | ( | ) |
Definition at line 617 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBType SBType::GetEnumerationIntegerType | ( | ) |
Definition at line 422 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
SBTypeEnumMemberList SBType::GetEnumMembers | ( | ) |
Definition at line 529 of file SBType.cpp.
References lldb::SBTypeEnumMemberList::Append(), lldb_private::CompilerType::ForEachEnumerator(), IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBTypeMember SBType::GetFieldAtIndex | ( | uint32_t | idx | ) |
Definition at line 551 of file SBType.cpp.
References lldb_private::CompilerType::GetFieldAtIndex(), IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBTypeMember::reset(), and lldb_private::ConstString::SetCString().
lldb::SBTypeList SBType::GetFunctionArgumentTypes | ( | ) |
Definition at line 300 of file SBType.cpp.
References lldb::SBTypeList::Append(), lldb_private::CompilerType::GetFunctionArgumentAtIndex(), lldb_private::CompilerType::GetNumberOfFunctionArguments(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
lldb::SBType SBType::GetFunctionReturnType | ( | ) |
Definition at line 288 of file SBType.cpp.
References IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
lldb::SBTypeMemberFunction SBType::GetMemberFunctionAtIndex | ( | uint32_t | idx | ) |
Definition at line 323 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBTypeMemberFunction::reset().
lldb::SBModule SBType::GetModule | ( | ) |
Definition at line 598 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBModule::SetSP().
const char * SBType::GetName | ( | ) |
Definition at line 609 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
uint32_t SBType::GetNumberOfDirectBaseClasses | ( | ) |
Definition at line 449 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
uint32_t SBType::GetNumberOfFields | ( | ) |
Definition at line 465 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
uint32_t SBType::GetNumberOfMemberFunctions | ( | ) |
Definition at line 314 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
uint32_t SBType::GetNumberOfTemplateArguments | ( | ) |
Definition at line 633 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
uint32_t SBType::GetNumberOfVirtualBaseClasses | ( | ) |
Definition at line 457 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBType SBType::GetPointeeType | ( | ) |
Definition at line 177 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
SBType SBType::GetPointerType | ( | ) |
Definition at line 168 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
SBType SBType::GetReferenceType | ( | ) |
Definition at line 185 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
|
protected |
Definition at line 81 of file SBType.cpp.
References m_opaque_sp.
Referenced by lldb::SBValue::Cast(), lldb::SBValue::CreateChildAtOffset(), lldb::SBValue::CreateValueFromAddress(), lldb::SBTarget::CreateValueFromAddress(), lldb::SBTarget::CreateValueFromData(), and lldb::SBValue::CreateValueFromData().
SBTypeStaticField SBType::GetStaticFieldWithName | ( | const char * | name | ) |
Definition at line 519 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBTypeStaticField.
lldb::TemplateArgumentKind SBType::GetTemplateArgumentKind | ( | uint32_t | idx | ) |
Return the TemplateArgumentKind of the template argument at index idx.
Variadic argument packs are automatically expanded.
Definition at line 668 of file SBType.cpp.
References lldb::eTemplateArgumentKindNull, IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by GetTemplateArgumentType().
lldb::SBType SBType::GetTemplateArgumentType | ( | uint32_t | idx | ) |
Definition at line 642 of file SBType.cpp.
References lldb::eTemplateArgumentKindIntegral, lldb::eTemplateArgumentKindType, GetTemplateArgumentKind(), IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
lldb::TypeClass SBType::GetTypeClass | ( | ) |
Definition at line 625 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBType SBType::GetTypedefedType | ( | ) |
Definition at line 193 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
uint32_t SBType::GetTypeFlags | ( | ) |
Definition at line 590 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
lldb::SBType SBType::GetUnqualifiedType | ( | ) |
Definition at line 406 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
SBType SBType::GetVectorElementType | ( | ) |
Definition at line 227 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SetSP().
SBTypeMember SBType::GetVirtualBaseClassAtIndex | ( | uint32_t | idx | ) |
Definition at line 503 of file SBType.cpp.
References IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBTypeMember::reset().
bool SBType::IsAggregateType | ( | ) |
Definition at line 280 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsAnonymousType | ( | ) |
Definition at line 264 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsArrayType | ( | ) |
Definition at line 143 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsFunctionType | ( | ) |
Definition at line 240 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsPointerType | ( | ) |
Definition at line 135 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsPolymorphicClass | ( | ) |
Definition at line 248 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsReferenceType | ( | ) |
Definition at line 160 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsScopedEnumerationType | ( | ) |
Definition at line 272 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsTypeComplete | ( | ) |
Definition at line 577 of file SBType.cpp.
References lldb_private::CompilerType::IsCompleteType(), lldb_private::CompilerType::IsForcefullyCompleted(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsTypedefType | ( | ) |
Definition at line 256 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::IsValid | ( | ) | const |
Definition at line 112 of file SBType.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBTypeList::Append(), lldb::SBValue::CreateChildAtOffset(), lldb::SBTarget::CreateValueFromAddress(), lldb::SBTarget::CreateValueFromData(), FindDirectNestedType(), GetArrayElementType(), GetArrayType(), GetBasicType(), GetByteSize(), GetCanonicalType(), GetDereferencedType(), GetDirectBaseClassAtIndex(), GetDisplayTypeName(), GetEnumerationIntegerType(), GetEnumMembers(), GetFieldAtIndex(), GetFunctionArgumentTypes(), GetFunctionReturnType(), GetMemberFunctionAtIndex(), GetModule(), GetName(), GetNumberOfDirectBaseClasses(), GetNumberOfFields(), GetNumberOfMemberFunctions(), GetNumberOfTemplateArguments(), GetNumberOfVirtualBaseClasses(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetStaticFieldWithName(), GetTemplateArgumentKind(), GetTemplateArgumentType(), GetTypeClass(), GetTypedefedType(), GetTypeFlags(), GetUnqualifiedType(), GetVectorElementType(), GetVirtualBaseClassAtIndex(), IsAggregateType(), IsAnonymousType(), IsArrayType(), IsFunctionType(), IsPointerType(), IsPolymorphicClass(), IsReferenceType(), IsScopedEnumerationType(), IsTypeComplete(), IsTypedefType(), IsVectorType(), operator!=(), operator==(), and lldb::SBTypeNameSpecifier::SBTypeNameSpecifier().
bool SBType::IsVectorType | ( | ) |
Definition at line 152 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
explicit |
Definition at line 116 of file SBType.cpp.
References LLDB_INSTRUMENT_VA.
bool SBType::operator!= | ( | lldb::SBType & | rhs | ) |
Definition at line 69 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
SBType & SBType::operator= | ( | const lldb::SBType & | rhs | ) |
Definition at line 87 of file SBType.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBType::operator== | ( | lldb::SBType & | rhs | ) |
Definition at line 57 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
protected |
Definition at line 98 of file SBType.cpp.
References m_opaque_sp.
Referenced by lldb::SBFunction::GetType().
|
protected |
Definition at line 104 of file SBType.cpp.
References m_opaque_sp.
|
protected |
Definition at line 83 of file SBType.cpp.
References m_opaque_sp.
Referenced by lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex(), lldb::SBTypeMemberFunction::GetReturnType(), lldb::SBTypeMember::GetType(), lldb::SBTypeMemberFunction::GetType(), lldb::SBTypeEnumMember::GetType(), lldb::SBValue::GetType(), and GetVectorElementType().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 276 of file SBType.h.
Referenced by GetStaticFieldWithName().
|
friend |
|
protected |
Definition at line 266 of file SBType.h.
Referenced by lldb::SBTypeList::Append(), FindDirectNestedType(), GetArrayElementType(), GetArrayType(), GetBasicType(), GetByteSize(), GetCanonicalType(), GetDereferencedType(), GetDescription(), GetDirectBaseClassAtIndex(), GetDisplayTypeName(), GetEnumerationIntegerType(), GetEnumMembers(), GetFieldAtIndex(), GetFunctionArgumentTypes(), GetFunctionReturnType(), GetMemberFunctionAtIndex(), GetModule(), GetName(), GetNumberOfDirectBaseClasses(), GetNumberOfFields(), GetNumberOfMemberFunctions(), GetNumberOfTemplateArguments(), GetNumberOfVirtualBaseClasses(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetSP(), GetStaticFieldWithName(), GetTemplateArgumentKind(), GetTemplateArgumentType(), GetTypeClass(), GetTypedefedType(), GetTypeFlags(), GetUnqualifiedType(), GetVectorElementType(), GetVirtualBaseClassAtIndex(), IsAggregateType(), IsAnonymousType(), IsArrayType(), IsFunctionType(), IsPointerType(), IsPolymorphicClass(), IsReferenceType(), IsScopedEnumerationType(), IsTypeComplete(), IsTypedefType(), IsVectorType(), operator!=(), operator=(), operator==(), ref(), SBType(), lldb::SBTypeNameSpecifier::SBTypeNameSpecifier(), and SetSP().