mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add T* syntactic sugar type for UnsafePointer<T>.
This is the basic plumbing for <rdar://problem/16912508>. Swift SVN r18195
This commit is contained in:
@@ -1595,7 +1595,8 @@ llvm::DIType IRGenDebugInfo::createType(DebugTypeInfo DbgTy,
|
||||
// SyntaxSugarType derivations.
|
||||
case TypeKind::ArraySlice:
|
||||
case TypeKind::Optional:
|
||||
case TypeKind::ImplicitlyUnwrappedOptional: {
|
||||
case TypeKind::ImplicitlyUnwrappedOptional:
|
||||
case TypeKind::UnsafePointer: {
|
||||
auto SyntaxSugarTy = cast<SyntaxSugarType>(BaseTy);
|
||||
auto CanTy = SyntaxSugarTy->getDesugaredType();
|
||||
return getOrCreateDesugaredType(CanTy, DbgTy);
|
||||
|
||||
Reference in New Issue
Block a user