mirror of
https://github.com/apple/swift-atomics
synced 2026-11-26 04:37:49 +00:00
[Utilities] Upgrade gyb to Python 3
This commit is contained in:
1 parent
6edab31515
commit
fef04c75ae
4 files changed
+7
-20
No files matched your search
@@ -228,12 +228,12 @@ extension ${swiftType}.AtomicRepresentation: AtomicStorage {
|
||||
}
|
||||
}
|
||||
|
||||
% if swiftType <> "DoubleWord":
|
||||
% if swiftType != "DoubleWord":
|
||||
extension ${swiftType}: AtomicInteger {}
|
||||
|
||||
extension ${swiftType}.AtomicRepresentation: AtomicIntegerStorage {
|
||||
% for (name, cname, op, label, doc) in integerOperations:
|
||||
% defaultValue = " = 1" if label <> "" else ""
|
||||
% defaultValue = " = 1" if label != "" else ""
|
||||
@_semantics("atomics.requires_constant_orderings")
|
||||
@_transparent @_alwaysEmitIntoClient
|
||||
@discardableResult
|
||||
|
||||
Reference in new issue
Block a user