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

@@ -40,7 +40,7 @@ const uint16_t VERSION_MAJOR = 0;
/// Serialized module format minor version number.
///
/// When the format changes IN ANY WAY, this number should be incremented.
const uint16_t VERSION_MINOR = 97;
const uint16_t VERSION_MINOR = 98;
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -564,6 +564,7 @@ namespace decls_block {
using OptionalTypeLayout = SyntaxSugarTypeLayout<OPTIONAL_TYPE>;
using ImplicitlyUnwrappedOptionalTypeLayout =
SyntaxSugarTypeLayout<UNCHECKED_OPTIONAL_TYPE>;
using UnsafePointerTypeLayout = SyntaxSugarTypeLayout<UNSAFE_POINTER_TYPE>;
using ReferenceStorageTypeLayout = BCRecordLayout<
REFERENCE_STORAGE_TYPE,