Guillaume Lessard
fa87b3b944
[stdlib] remove bulk-update from MutableRawSpan per SE-0485
2025-07-14 23:04:49 -07:00
Guillaume Lessard
97a0bd743a
[stdlib] rename MutableRawSpan.extracting functions
2025-07-14 23:04:48 -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
619ec95693
[stdlib] add no-parameter initializers for Span types
...
This was an addition in SE-0485.
2025-07-07 17:57:12 -07:00
Guillaume Lessard
9ac65cf735
[stdlib] fix some unsafe errors
2025-07-07 02:29:51 -07:00
Valeriy Van
505d55c4d1
Add type parameter to make code match doc comment
2025-06-09 11:54:44 +03:00
Doug Gregor
f04e916dff
Fix issue with older compilers not handling MutableSpan code
...
The use of SendableCompletionHandlers here is completely incidental,
because it happened to be introduced at roughly the same time as the
bits we needed for MutableSpan. Fixes rdar://148072153.
2025-05-05 10:12:06 -07:00
Doug Gregor
050a514588
[Strict memory safety] Update standard library for unsafe treated as a call effect
2025-04-25 21:54:23 -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
cb390140d6
[stdlib] correct MutableRawSpan sizing
2025-04-10 10:31:18 -07:00
Guillaume Lessard
53b6b45bda
[stdlib] update lifetime annotation syntax
2025-04-10 10:31:18 -07:00
Guillaume Lessard
77431f5217
[stdlib] add MutableSpan.mutableBytes
2025-04-10 10:31:05 -07:00
Slava Pestov
17868a7b50
CompatibilitySpan: Fix stdlib build on visionOS
...
Swift CI tests visionOS, but PR testing does not. Oops.
2025-04-09 12:37:45 -04:00
Slava Pestov
43da773685
stdlib: Update {Mutable,}{Raw,}Span availability for backward deployment
2025-04-07 21:32:48 -04:00
Slava Pestov
4c8c3aab4f
CompatibilitySpan: Add MutableRawSpan.swift, MutableSpan.swift
2025-04-07 21:32:44 -04:00
Meghana Gupta
ef1e94577f
Revert "Merge pull request #80540 from swiftlang/revert-80452-lifetimeinout"
...
This reverts commit 6eaa07a880 , reversing
changes made to e75ee3f4cf .
2025-04-04 09:50:13 -07:00
Artem Chikin
39e1791b67
Revert "Add support for inout lifetime dependence"
2025-04-04 09:00:09 -07:00
Meghana Gupta
f4a980d62d
Update stdlib
2025-04-03 17:32:09 -07:00
Allan Shortlidge
d2e8edfc93
stdlib: Address StrictMemorySafety warnings in Span related code.
2025-03-31 16:45:08 -07:00
Guillaume Lessard
6a7dbb02f3
[stdlib] update lifetime annotations for Mutable[Raw]Span
2025-03-27 16:55:06 -07:00
Guillaume Lessard
7a160a2dfc
[stdlib] de-underscore the extracting() methods
2025-03-27 16:55:05 -07:00
Guillaume Lessard
90684a87a3
[stdlib] add missing unsafe annotations
2025-03-27 13:34:34 -07:00
Guillaume Lessard
5a087d1190
[stdlib] annotate unsafe initializers
2025-03-27 13:34:34 -07:00
Guillaume Lessard
9553982253
[stdlib] use the internal unsafe-unwrap
2025-03-27 13:34:34 -07:00
Guillaume Lessard
4a78667db8
[stdlib] tweaks to MutableRawSpan
2025-03-27 13:34:33 -07:00
Guillaume Lessard
cbbe5df00b
[stdlib] add unsafe annotations
2025-03-27 13:34:33 -07:00
Guillaume Lessard
484905b42d
[stdlib] add extracting() to MutableSpan and MutableRawSpan
2025-03-27 13:34:32 -07:00
Guillaume Lessard
f214ef29d0
[stdlib] small spelling fixes
2025-03-27 13:34:32 -07:00
Guillaume Lessard
2fa2391c28
[stdlib] remove 2 symbols
2025-03-27 13:34:32 -07:00
Guillaume Lessard
30a3eaec4f
[stdlib] add MutableSpan and MutableRawSpan
2025-03-27 13:30:13 -07:00