Skip to content

[lldb] Make DemangleCanonicalType use GetCanonicalType #3358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1723,9 +1723,8 @@ TypeSystemSwiftTypeRef::RemangleAsType(swift::Demangle::Demangler &dem,
swift::Demangle::NodePointer TypeSystemSwiftTypeRef::DemangleCanonicalType(
swift::Demangle::Demangler &dem, opaque_compiler_type_t opaque_type) {
using namespace swift::Demangle;
NodePointer node = GetCanonicalDemangleTree(m_swift_ast_context, dem,
AsMangledName(opaque_type));
return GetType(node);
CompilerType type = GetCanonicalType(opaque_type);
return GetDemangledType(dem, type.GetMangledTypeName().GetStringRef());
}

bool TypeSystemSwiftTypeRef::IsArrayType(opaque_compiler_type_t type,
Expand Down