We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34c417d + 20eff53 commit 577626cCopy full SHA for 577626c
stdlib/public/Synchronization/Atomics/Atomic.swift
@@ -42,10 +42,11 @@ public struct Atomic<Value: AtomicRepresentable>: ~Copyable {
42
_address.initialize(to: Value.encodeAtomicRepresentation(initialValue))
43
}
44
45
+ // Deinit's can't be marked @_transparent. Do these things need all of these
46
+ // attributes..?
47
@available(SwiftStdlib 6.0, *)
48
@_alwaysEmitIntoClient
49
@inlinable
- @_transparent
50
deinit {
51
let oldValue = Value.decodeAtomicRepresentation(_address.pointee)
52
_ = consume oldValue
0 commit comments