Guillaume Lessard
42337d3724
[test] removeAll() from an empty OutputSpan
2025-08-15 17:24:06 -07:00
Stephen Canon
ee9b38ca22
Use an explicit unsigned comparison for span index checks ( #83150 )
...
LLVM ought to be able to do this transformation for us, but it currently fails to do so. We can code around it easily enough. https://github.com/swiftlang/swift/pull/83172 has a better long-term fix.
2025-07-21 16:06:17 -04:00
Guillaume Lessard
b72c4422b8
Merge pull request #81637 from glessard/rdar147780495-OutputSpan-updates
...
[SE-0485] OutputSpan and OutputRawSpan
2025-07-17 14:14:52 -07:00
Guillaume Lessard
2e0c0fea7c
[test] OutputRawSpan tests
2025-07-16 17:15:27 -07:00
Guillaume Lessard
2689ef31e1
Merge pull request #82959 from glessard/rdar155474776-extracting
...
[stdlib] Implementation for SE-0488
2025-07-15 13:59:00 -07:00
Guillaume Lessard
51eebe1836
[test] fix test of InlineArray initializer
2025-07-14 23:04:49 -07:00
Guillaume Lessard
fa87b3b944
[stdlib] remove bulk-update from MutableRawSpan per SE-0485
2025-07-14 23:04:49 -07:00
Guillaume Lessard
923a6e5292
[stdlib] remove bulk-update from MutableSpan per SE-0485
2025-07-14 23:04:48 -07:00
Guillaume Lessard
97a0bd743a
[stdlib] rename MutableRawSpan.extracting functions
2025-07-14 23:04:48 -07:00
Guillaume Lessard
6439a32997
[stdlib] rename MutableSpan.extracting functions
2025-07-14 23:04:48 -07:00
Guillaume Lessard
5f5e6b68c9
[stdlib] make OutputSpan changes from SE-0485
2025-07-14 23:04:47 -07:00
Guillaume Lessard
5895a64d52
[test] simplify OutputSpan-InlineArray test
2025-07-14 23:04:47 -07:00
Guillaume Lessard
733a261b28
[stdlib] InlineArray consumed by OutputSpan
2025-07-14 23:04:46 -07:00
Guillaume Lessard
1d776a6b06
[stdlib] in-place initializer for InlineArray
2025-07-14 23:04:46 -07:00
Guillaume Lessard
f50ae1b499
[test] OutputSpan tests
2025-07-14 23:04:46 -07:00
Guillaume Lessard
1e3d26f8a6
[stdlib] rename RawSpan.extracting functions
2025-07-09 17:36:35 -07:00
Guillaume Lessard
dd833569e0
[stdlib] rename Span.extracting functions
2025-07-09 17:25:27 -07:00
Guillaume Lessard
7e2697276a
Merge pull request #82851 from glessard/rdar154331399-makeReallyContiguous
...
[stdlib] Make String.makeContiguousUTF8() strictly true
2025-07-09 08:11:30 -07:00
Guillaume Lessard
3dfdd87097
[test] small string compatibility for 32-bit targets
2025-07-08 13:58:00 -07:00
Guillaume Lessard
fe6a8fac39
Merge pull request #82866 from glessard/rdar155275054-default-inits-allspans
...
[stdlib] Default initializers for Span-family types
2025-07-08 09:46:14 -07:00
Guillaume Lessard
368f54771a
[test] immortal no-parameter Span initializers
2025-07-07 18:06:49 -07:00
Guillaume Lessard
044e53f3b2
[test] adjust String span tests
2025-06-23 18:38:33 -07:00
Guillaume Lessard
0433cd292c
[stdlib] add UMBP.mutableSpan accessor
2025-06-16 22:28:21 -07:00
Guillaume Lessard
f952ca5988
[stdlib] add URMBP.mutableBytes accessor
2025-06-16 22:28:21 -07:00
Guillaume Lessard
694e94b360
[test] remove repetitions
2025-06-07 07:48:34 -07:00
Guillaume Lessard
8a2ff96521
[test] UTF8Span from inline-stored Substring instances
2025-06-07 07:48:33 -07:00
Guillaume Lessard
bc59aedc3f
[test] UTF8Span from inline-stored String instances
2025-06-07 07:48:33 -07:00
Guillaume Lessard
594f46c47c
Merge pull request #81170 from glessard/rdar150282203-false-positive-test-failure
...
[test] eliminate the possibility of a false positive
2025-04-30 12:28:33 -07:00
Guillaume Lessard
8f1ab06841
[test] eliminate the possibility of a false positive
2025-04-29 10:22:27 -07:00
Guillaume Lessard
493e853039
Merge pull request #80684 from glessard/rdar137710901-addressable-utf8view-span
...
[SE-0456] enable span properties for the small-String representation
2025-04-17 22:52:14 -07:00
Guillaume Lessard
f349282dff
[test] adjust test values
2025-04-14 14:26:01 -07:00
Guillaume Lessard
f8d62d52d9
[test] remove an unnecessary feature flag
2025-04-14 10:48:42 -07:00
Guillaume Lessard
2d50c6cce9
Revert "[temporary] disable small-string support"
...
This reverts commit ea44ff9fc9 .
2025-04-14 10:48:42 -07:00
Guillaume Lessard
1f93566d69
Merge pull request #80517 from glessard/rdar138440979-MutableSpan-mutableBytes
...
[SE-0467] add mutableBytes to MutableSpan
2025-04-13 10:33:09 -07:00
Guillaume Lessard
e618f79691
[test] MutableSpan.mutableBytes property
2025-04-10 10:31:05 -07:00
Guillaume Lessard
f931d296a2
[stdlib] add InlineArray.mutableSpan
2025-04-09 09:56:06 -07:00
Guillaume Lessard
b90a6fcb41
[stdlib] add CollectionOfOne.mutableSpan
2025-04-09 09:56:06 -07:00
Guillaume Lessard
8e5506e0b2
Revert "[temporary] disable spans over inline elements"
...
This reverts commit 7b035936e4 .
2025-04-04 14:50:51 -07:00
Guillaume Lessard
c37e1525e8
[test] adjust test values
2025-04-02 17:53:12 -07:00
Guillaume Lessard
0976b61ecc
Apply suggestions from code review
...
Co-authored-by: Karoy Lorentey <klorentey@apple.com >
2025-04-02 17:53:12 -07:00
Guillaume Lessard
ea44ff9fc9
[temporary] disable small-string support
2025-04-02 17:53:12 -07:00
Guillaume Lessard
17412a9c64
[test] update bridged string tests
...
- move to a new file
- create a new `NSString` object for each new test
2025-03-31 12:05:50 -07:00
Guillaume Lessard
03208a693e
[test] spans over bridged Substring instances
2025-03-31 12:05:50 -07:00
Guillaume Lessard
9ae58c992b
[stdlib] span properties for bridged String instances
2025-03-31 12:05:50 -07:00
Guillaume Lessard
a061425aae
[stdlib] add storage property to Substring.UTF8View
2025-03-31 12:05:50 -07:00
Guillaume Lessard
3015bf522d
[stdlib] add storage property to String.UTF8View
2025-03-31 12:05:50 -07:00
Guillaume Lessard
7a160a2dfc
[stdlib] de-underscore the extracting() methods
2025-03-27 16:55:05 -07:00
Guillaume Lessard
0c3f084630
[test] Array-family mutableSpan properties
2025-03-27 16:55:05 -07:00
Guillaume Lessard
5a087d1190
[stdlib] annotate unsafe initializers
2025-03-27 13:34:34 -07:00
Guillaume Lessard
51708d0f05
[test] add MutableSpan slicing tests
2025-03-27 13:34:34 -07:00