mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Re-apply "Rename @transparent to @_transparent for now."
This re-applies 90fcbfe9a6. I'll be committing
the corresponding change to Foundation momentarily.
This commit is contained in:
@@ -829,7 +829,7 @@ extension ${Self} : CustomStringConvertible, CustomDebugStringConvertible {
|
||||
}
|
||||
|
||||
extension ${Self} {
|
||||
@transparent
|
||||
@_transparent
|
||||
@warn_unused_result
|
||||
internal func _cPointerArgs() -> (AnyObject?, Builtin.RawPointer) {
|
||||
let p = _baseAddressIfContiguous
|
||||
@@ -1168,7 +1168,7 @@ internal struct _InitializePointer<T> : _PointerFunctionType {
|
||||
rawMemory.initialize(newValue)
|
||||
}
|
||||
|
||||
@transparent
|
||||
@_transparent
|
||||
internal init(_ newValue: T) {
|
||||
self.newValue = newValue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user