Revert "Migrate from UnsafePointer<Void> to UnsafeRawPointer. (#3724)"

This reverts commit ece0951924.

This results in lldb failues on linux that I can't readily debug.
Backing out until they can be resolved.
This commit is contained in:
Andrew Trick
2016-07-26 02:50:57 -07:00
parent b65244805a
commit 0ed9ee8dee
74 changed files with 307 additions and 339 deletions

View File

@@ -452,8 +452,8 @@ struct _ContiguousArrayBuffer<Element> : _ArrayBufferProtocol {
///
/// Two buffers address the same elements when they have the same
/// identity and count.
public var identity: UnsafeRawPointer {
return UnsafeRawPointer(firstElementAddress)
public var identity: UnsafePointer<Void> {
return UnsafePointer(firstElementAddress)
}
/// Returns `true` iff we have storage for elements of the given