Commit Graph

59 Commits

Author SHA1 Message Date
Becca Royal-Gordon
354f3470a0 Add @_nonSendable decl attribute
This attribute creates an unavailable extension with a `Sendable` conformance so that the type is explicity marked as not being `Sendable`.

We also fully suppress diagnostics about unavailable Sendable conformances in Swift 5 mode code. (This is not fully developed yet—it should return to being a warning in concurrent contexts.)

The behavior when a @_nonSendable and a Sendable conformance are both on the same type is also not right yet.
2021-10-14 12:14:46 -07:00
Doug Gregor
62b2054aa1 Remove @_distributedActorIndependent attribute entirely.
All its uses have been subsumed into `nonisolated`.
2021-10-01 23:08:22 -07:00
Hans Harck Tønning
53e8311513 Fixed a typo in UnderscoredAttributes.md
Fixed an accidental past tense in the Underscored Attributes reference guide; “inherited” => “inherit”.
2021-08-05 00:18:38 +02:00
Varun Gandhi
8e23a7ba30 [docs] Fix broken link to OptimizerEffects doc. 2021-08-04 10:45:02 -07:00
Varun Gandhi
d66562c4cb Merge pull request #38729 from varungandhi-apple/vg-tweak-docs
[docs] Make some corrections and additions to UnderscoredAttributes.md
2021-08-04 03:34:21 -07:00
Varun Gandhi
585ba571e0 [docs] Minor cleanup and consistency fixes in UnderscoredAttributes.md. 2021-08-03 12:56:33 -07:00
Varun Gandhi
297bc92cf9 [docs] Add documentation for _assemblyVision. 2021-08-03 12:56:33 -07:00
YOCKOW
be35884a29 [docs] UnderscoredAttributes.md: Prettify code in @_hasStorage. 2021-08-03 15:36:29 +09:00
Varun Gandhi
f42bde346b [docs] Add documentation for underscored attributes. (#37854)
Fixes rdar://65258964.
2021-08-02 18:20:05 -07:00