Skip to content

Commit ad26b8e

Browse files
committed
[stdlib][abi] Add expectations for new property descriptors for U[M]BP.isEmpty
These `isEmpty` descriptors got upgraded from Collection extensions to direct implementations, and they now come with property descriptors (despite being `@_alwaysEmitIntoClient`).
1 parent b83282b commit ad26b8e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

test/abi/macOS/arm64/stdlib.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,12 @@ Added: _$sSMsSmRzrlE15removeSubrangesyys8RangeSetVy5IndexSlQzGF
239239
// (extension in Swift):Swift.MutableCollection.moveSubranges(_: Swift.RangeSet<A.Index>, to: A.Index) -> Swift.Range<A.Index>
240240
Added: _$sSMsE13moveSubranges_2toSny5IndexQzGs8RangeSetVyADG_ADtF
241241

242+
// `isEmpty` is a newly explicit property on Unsafe[Mutable]BufferPointer
243+
// property descriptor for Swift.UnsafeBufferPointer.isEmpty : Swift.Bool
244+
Added: _$sSR7isEmptySbvpMV
245+
// property descriptor for Swift.UnsafeMutableBufferPointer.isEmpty : Swift.Bool
246+
Added: _$sSr7isEmptySbvpMV
247+
242248
// Runtime Symbols
243249
Added: __swift_pod_copy
244250
Added: __swift_pod_destroy

test/abi/macOS/x86_64/stdlib.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,12 @@ Added: _$sSMsSmRzrlE15removeSubrangesyys8RangeSetVy5IndexSlQzGF
239239
// (extension in Swift):Swift.MutableCollection.moveSubranges(_: Swift.RangeSet<A.Index>, to: A.Index) -> Swift.Range<A.Index>
240240
Added: _$sSMsE13moveSubranges_2toSny5IndexQzGs8RangeSetVyADG_ADtF
241241

242+
// `isEmpty` is a newly explicit property on Unsafe[Mutable]BufferPointer
243+
// property descriptor for Swift.UnsafeBufferPointer.isEmpty : Swift.Bool
244+
Added: _$sSR7isEmptySbvpMV
245+
// property descriptor for Swift.UnsafeMutableBufferPointer.isEmpty : Swift.Bool
246+
Added: _$sSr7isEmptySbvpMV
247+
242248
// Runtime Symbols
243249
Added: __swift_pod_copy
244250
Added: __swift_pod_destroy

0 commit comments

Comments
 (0)