Michael Ilseman
bed6408712
Better docs for UTF8Span ( #83184 )
...
Co-authored-by: Alex Martini <amartini@apple.com >
2025-07-21 11:02:29 -06:00
Guillaume Lessard
dd833569e0
[stdlib] rename Span.extracting functions
2025-07-09 17:25:27 -07:00
Guillaume Lessard
791dd4cb0a
[stdlib] name your constants better
...
- computed properties have an ABI impact; a function is fine here
2025-06-25 22:01:28 -07:00
Guillaume Lessard
4a13c916d7
[stdlib] name your constants
2025-06-24 17:19:48 -07:00
Guillaume Lessard
e8f0d52fe2
[gardening] labels for conditional compilation markers
2025-06-24 17:10:37 -07:00
Guillaume Lessard
3aad241019
[stdlib] address 32-bit watchOS ABI issue
2025-06-23 18:31:16 -07:00
Guillaume Lessard
c7324389d9
[stdlib] fix small string usage for Substring.utf8Span
2025-06-07 07:48:33 -07:00
Guillaume Lessard
83edacbcc6
[stdlib] fix small-string usage for String.utf8Span
2025-06-07 07:48:33 -07:00
Andrew Trick
e9d11283b9
Add _overrideLifetime to Span APIs
...
The implementation previously took advantage of a missing diagnostic. They
returned a borrowed Span with a dependency on a copied argument. This illegally
promotes the dependency. This is what the author intended to do (the
implementation was correct) but the compiler can't know that so the code needs
to be explicit about overriding the lifetime.
2025-04-25 17:58:24 -07:00
Michael Ilseman
e6e4bd6056
UTF8Span ( #78531 )
...
Add support for UTF8Span
Also, refactor validation and grapheme breaking
2025-04-11 16:11:11 -06:00