[Utilities] Upgrade gyb to Python 3

This commit is contained in:
Karoly Lorentey committed 2021-09-22 19:25:08 -07:00
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