@@ -126,7 +126,7 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
126126 ///
127127 /// If the `baseAddress` of this buffer is `nil`, the count is zero. However,
128128 /// a buffer can have a `count` of zero even with a non-`nil` base address.
129- @inlinable
129+ @_transparent
130130 @_preInverseGenerics
131131 @safe
132132 public var baseAddress: Unsafe ${ Mutable} Poin ter< Element>? {
@@ -240,7 +240,7 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
240240 ///
241241 /// The `startIndex` property of an `Unsafe${Mutable}BufferPointer` instance
242242 /// is always zero.
243- @inlinable
243+ @_transparent
244244 @_preInverseGenerics
245245 @safe
246246 public var startIndex : Int { 0 }
@@ -250,20 +250,20 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
250250 ///
251251 /// The `endIndex` property of an `Unsafe${Mutable}BufferPointer` instance is
252252 /// always identical to `count`.
253- @inlinable
253+ @_transparent
254254 @_preInverseGenerics
255255 @safe
256256 public var endIndex : Int { count }
257257
258- @inlinable
259- @safe
258+ @_transparent
260259 @_preInverseGenerics
260+ @safe
261261 public var indices : Range < Int > {
262262 // Not checked because init forbids negative count.
263263 unsafe Range( uncheckedBounds: ( 0 , count) )
264264 }
265265
266- @inlinable
266+ @_transparent
267267 @_preInverseGenerics
268268 public func index( after i: Int ) -> Int {
269269 // NOTE: this is a manual specialization of index movement for a Strideable
@@ -281,7 +281,7 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
281281 return result. partialValue
282282 }
283283
284- @inlinable
284+ @_transparent
285285 @_preInverseGenerics
286286 public func formIndex( after i: inout Int ) {
287287 // NOTE: this is a manual specialization of index movement for a Strideable
@@ -295,7 +295,7 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
295295 i = result. partialValue
296296 }
297297
298- @inlinable
298+ @_transparent
299299 @_preInverseGenerics
300300 public func index( before i: Int ) -> Int {
301301 // NOTE: this is a manual specialization of index movement for a Strideable
@@ -309,7 +309,7 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
309309 return result. partialValue
310310 }
311311
312- @inlinable
312+ @_transparent
313313 @_preInverseGenerics
314314 public func formIndex( before i: inout Int ) {
315315 // NOTE: this is a manual specialization of index movement for a Strideable
@@ -323,7 +323,7 @@ extension Unsafe${Mutable}BufferPointer where Element: ~Copyable {
323323 i = result. partialValue
324324 }
325325
326- @inlinable
326+ @_transparent
327327 @_preInverseGenerics
328328 public func index( _ i: Int , offsetBy n: Int ) -> Int {
329329 // NOTE: this is a manual specialization of index movement for a Strideable
0 commit comments