Mark the additional Bool methods as public

…inline with the static methods on AtomicStorage and AtomicIntegerStorage.
This commit is contained in:
Akis Kesoglou committed 2021-03-14 19:20:38 +02:00
1 parent 3e95ba32cd
commit 7e101a5653
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ extension Bool.AtomicRepresentation {
/// - Returns: The original value before the operation.
@_semantics("atomics.requires_constant_orderings")
@_transparent @_alwaysEmitIntoClient
static func atomicLoadThen${name}(
public static func atomicLoadThen${name}(
${label} operand: Value,
at pointer: UnsafeMutablePointer<Self>,
ordering: AtomicUpdateOrdering
@@ -358,7 +358,7 @@ extension Bool.AtomicRepresentation {
/// - Returns: The original value before the operation.
@_semantics("atomics.requires_constant_orderings")
@_transparent @_alwaysEmitIntoClient
static func atomicLoadThenLogicalAnd(
public static func atomicLoadThenLogicalAnd(
with operand: Value,
at pointer: UnsafeMutablePointer<Self>,
ordering: AtomicUpdateOrdering
@@ -399,7 +399,7 @@ extension Bool.AtomicRepresentation {
/// - Returns: The original value before the operation.
@_semantics("atomics.requires_constant_orderings")
@_transparent @_alwaysEmitIntoClient
static func atomicLoadThenLogicalOr(
public static func atomicLoadThenLogicalOr(
with operand: Value,
at pointer: UnsafeMutablePointer<Self>,
ordering: AtomicUpdateOrdering
@@ -440,7 +440,7 @@ extension Bool.AtomicRepresentation {
/// - Returns: The original value before the operation.
@_semantics("atomics.requires_constant_orderings")
@_transparent @_alwaysEmitIntoClient
static func atomicLoadThenLogicalXor(
public static func atomicLoadThenLogicalXor(
with operand: Value,
at pointer: UnsafeMutablePointer<Self>,
ordering: AtomicUpdateOrdering