lldb::SBType
SBType::GetCanonicalType();
llvm-svn: 169655
lldb::SBType
GetUnqualifiedType();
+ lldb::SBType
+ GetCanonicalType();
// Get the "lldb::BasicType" enumeration for a type. If a type is not a basic
// type eBasicTypeInvalid will be returned
lldb::BasicType
lldb::SBType
GetUnqualifiedType();
+ lldb::SBType
+ GetCanonicalType();
+
lldb::BasicType
GetBasicType();
return SBType(ClangASTType(m_opaque_sp->GetASTContext(),qt.getUnqualifiedType().getAsOpaquePtr()));
}
+lldb::SBType
+SBType::GetCanonicalType()
+{
+ if (IsValid())
+ {
+ QualType qt (QualType::getFromOpaquePtr(m_opaque_sp->GetOpaqueQualType()));
+ return SBType(ClangASTType(m_opaque_sp->GetASTContext(),qt.getCanonicalType().getAsOpaquePtr()));
+ }
+ return SBType();
+}
+
+
lldb::BasicType
SBType::GetBasicType()
{