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:
Doug Gregor
2014-05-16 15:30:26 +00:00
parent 2488ba0746
commit 806daf3a87
21 changed files with 226 additions and 14 deletions

View File

@@ -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);