@@ -37,7 +37,7 @@ extension UnsafePointer: @unsafe AtomicRepresentable where Pointee: ~Copyable {
37
37
public static func encodeAtomicRepresentation(
38
38
_ value: consuming UnsafePointer < Pointee >
39
39
) -> AtomicRepresentation {
40
- unsafe Int. encodeAtomicRepresentation (
40
+ Int . encodeAtomicRepresentation (
41
41
Int ( bitPattern: value)
42
42
)
43
43
}
@@ -88,7 +88,7 @@ extension UnsafePointer: @unsafe AtomicOptionalRepresentable where Pointee: ~Cop
88
88
public static func encodeAtomicOptionalRepresentation(
89
89
_ value: consuming UnsafePointer < Pointee > ?
90
90
) -> AtomicOptionalRepresentation {
91
- unsafe Int. encodeAtomicRepresentation (
91
+ Int . encodeAtomicRepresentation (
92
92
Int ( bitPattern: value)
93
93
)
94
94
}
@@ -143,7 +143,7 @@ extension UnsafeMutablePointer: @unsafe AtomicRepresentable where Pointee: ~Copy
143
143
public static func encodeAtomicRepresentation(
144
144
_ value: consuming UnsafeMutablePointer < Pointee >
145
145
) -> AtomicRepresentation {
146
- unsafe Int. encodeAtomicRepresentation (
146
+ Int . encodeAtomicRepresentation (
147
147
Int ( bitPattern: value)
148
148
)
149
149
}
@@ -195,7 +195,7 @@ where Pointee: ~Copyable {
195
195
public static func encodeAtomicOptionalRepresentation(
196
196
_ value: consuming UnsafeMutablePointer < Pointee > ?
197
197
) -> AtomicOptionalRepresentation {
198
- unsafe Int. encodeAtomicRepresentation (
198
+ Int . encodeAtomicRepresentation (
199
199
Int ( bitPattern: value)
200
200
)
201
201
}
@@ -250,7 +250,7 @@ extension UnsafeRawPointer: @unsafe AtomicRepresentable {
250
250
public static func encodeAtomicRepresentation(
251
251
_ value: consuming UnsafeRawPointer
252
252
) -> AtomicRepresentation {
253
- unsafe Int. encodeAtomicRepresentation (
253
+ Int . encodeAtomicRepresentation (
254
254
Int ( bitPattern: value)
255
255
)
256
256
}
@@ -301,7 +301,7 @@ extension UnsafeRawPointer: @unsafe AtomicOptionalRepresentable {
301
301
public static func encodeAtomicOptionalRepresentation(
302
302
_ value: consuming UnsafeRawPointer ?
303
303
) -> AtomicOptionalRepresentation {
304
- unsafe Int. encodeAtomicRepresentation (
304
+ Int . encodeAtomicRepresentation (
305
305
Int ( bitPattern: value)
306
306
)
307
307
}
@@ -356,7 +356,7 @@ extension UnsafeMutableRawPointer: @unsafe AtomicRepresentable {
356
356
public static func encodeAtomicRepresentation(
357
357
_ value: consuming UnsafeMutableRawPointer
358
358
) -> AtomicRepresentation {
359
- unsafe Int. encodeAtomicRepresentation (
359
+ Int . encodeAtomicRepresentation (
360
360
Int ( bitPattern: value)
361
361
)
362
362
}
@@ -407,7 +407,7 @@ extension UnsafeMutableRawPointer: @unsafe AtomicOptionalRepresentable {
407
407
public static func encodeAtomicOptionalRepresentation(
408
408
_ value: consuming UnsafeMutableRawPointer ?
409
409
) -> AtomicOptionalRepresentation {
410
- unsafe Int. encodeAtomicRepresentation (
410
+ Int . encodeAtomicRepresentation (
411
411
Int ( bitPattern: value)
412
412
)
413
413
}
@@ -798,7 +798,7 @@ extension UnsafeBufferPointer: @unsafe AtomicRepresentable where Element: ~Copya
798
798
) -> AtomicRepresentation {
799
799
let valueCopy = unsafe value
800
800
801
- return unsafe WordPair. encodeAtomicRepresentation (
801
+ return WordPair . encodeAtomicRepresentation (
802
802
WordPair (
803
803
first: UInt ( bitPattern: valueCopy. baseAddress) ,
804
804
second: UInt ( truncatingIfNeeded: valueCopy. count)
@@ -866,7 +866,7 @@ where Element: ~Copyable
866
866
) -> AtomicRepresentation {
867
867
let valueCopy = unsafe value
868
868
869
- return unsafe WordPair. encodeAtomicRepresentation (
869
+ return WordPair . encodeAtomicRepresentation (
870
870
WordPair (
871
871
first: UInt ( bitPattern: valueCopy. baseAddress) ,
872
872
second: UInt ( truncatingIfNeeded: valueCopy. count)
@@ -932,7 +932,7 @@ extension UnsafeRawBufferPointer: @unsafe AtomicRepresentable {
932
932
) -> AtomicRepresentation {
933
933
let valueCopy = unsafe value
934
934
935
- return unsafe WordPair. encodeAtomicRepresentation (
935
+ return WordPair . encodeAtomicRepresentation (
936
936
WordPair (
937
937
first: UInt ( bitPattern: valueCopy. baseAddress) ,
938
938
second: UInt ( truncatingIfNeeded: valueCopy. count)
@@ -998,7 +998,7 @@ extension UnsafeMutableRawBufferPointer: @unsafe AtomicRepresentable {
998
998
) -> AtomicRepresentation {
999
999
let valueCopy = unsafe value
1000
1000
1001
- return unsafe WordPair. encodeAtomicRepresentation (
1001
+ return WordPair . encodeAtomicRepresentation (
1002
1002
WordPair (
1003
1003
first: UInt ( bitPattern: valueCopy. baseAddress) ,
1004
1004
second: UInt ( truncatingIfNeeded: valueCopy. count)
0 commit comments