Commit Graph

33 Commits

Author SHA1 Message Date
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
Guillaume Lessard
e470949083 [test] MutableRawSpan tests 2025-03-27 13:34:33 -07:00
Guillaume Lessard
ad8e91bc77 [test] MutableSpan tests 2025-03-27 13:30:13 -07:00
Guillaume Lessard
c21de062bb Merge pull request #78561 from glessard/rdar137710901-span-properties-prototype
[SE-0456] Span properties (part 1)
2025-03-24 08:47:47 -07:00
Guillaume Lessard
7b035936e4 [temporary] disable spans over inline elements 2025-03-21 17:26:29 -07:00
Guillaume Lessard
31daf5ccaf [test] amend test command 2025-03-21 17:24:45 -07:00
Guillaume Lessard
1125f758a2 [test] sending Spans shouldn’t require copyability 2025-03-13 13:54:18 -07:00
Guillaume Lessard
3d6070ddac [test] add a test case 2025-03-10 08:54:08 -07:00
Guillaume Lessard
2980878a0f Update test/stdlib/Span/InlineSpanProperties.swift
Co-authored-by: Ben Rimmington <me@benrimmington.com>
2025-03-10 08:54:08 -07:00
Guillaume Lessard
0e1d207aa0 Update test/stdlib/Span/ArraySpanProperties.swift
Co-authored-by: Ben Rimmington <me@benrimmington.com>
2025-03-10 08:54:07 -07:00
Guillaume Lessard
afb627d189 [test] rename files 2025-03-10 08:54:07 -07:00
Guillaume Lessard
7188d0b187 [stdlib] add span property to KeyValuePairs 2025-03-10 08:54:07 -07:00
Guillaume Lessard
d6ab6d0c2c [test] better names for test suites 2025-03-10 08:54:07 -07:00
Guillaume Lessard
d0d528521a [stdlib] add span property to InlineArray 2025-03-10 08:54:06 -07:00
Guillaume Lessard
264747ac77 [stdlib] add span property to CollectionOfOne 2025-03-10 08:51:56 -07:00
Guillaume Lessard
a5e04e0216 [test] span properties for Array family 2025-03-10 08:51:56 -07:00
Guillaume Lessard
3863b815df [test] test Span.bytes 2025-03-10 08:51:56 -07:00
Guillaume Lessard
1a4105de6d [test] remove uninteresting tests 2025-03-07 13:23:25 -08:00
Guillaume Lessard
22ae9c9367 [test] portability fix 2025-03-07 13:23:25 -08:00
Guillaume Lessard
bd32aa5f6e [stdlib] remove an extracting overload
- `RangeExpression` implicitly involves bounds checking, so this was misleading.
2025-03-05 17:15:03 -08:00
Guillaume Lessard
b70f0f622c [test] add RawSpan tests 2025-03-05 16:28:11 -08:00
Guillaume Lessard
16750f6de5 [test] add Span tests 2025-03-05 16:28:11 -08:00