Commit Graph

14 Commits

Author SHA1 Message Date
Nate Cook
b6a0d9ed26 [stdlib] Documentation revisions
- Make RawRepresentable Codable abstracts distinguishable
- Make the UnboundedRange example a little more user friendly
- Correct the RangeReplaceableCollection example description
- Revise CaseIterable discussion
2018-04-11 11:34:51 -05:00
Slava Pestov
2e5aef9c8d stdlib: Remove redundant @usableFromInline attributes 2018-04-06 00:02:30 -07:00
Slava Pestov
e1f50b2d36 SE-0193: Rename @_inlineable to @inlinable, @_versioned to @usableFromInline 2018-03-30 21:55:30 -07:00
Jordan Rose
05293f26b6 [stdlib] Remove '@_frozen' from enums that shouldn't be frozen
Error codes, FloatingPointRoundingRule, Mirror.AncestorRepresentation,
Mirror.DisplayStyle, and PlaygroundQuickLook.
2018-03-20 14:50:40 -07:00
Jordan Rose
9034ba617b Ban @_fixed_layout on enums in favor of @_frozen
In theory there could be a "fixed-layout" enum that's not exhaustive
but promises not to add any more cases with payloads, but we don't
need that distinction today.

(Note that @objc enums are still "fixed-layout" in the actual sense of
"having a compile-time known layout". There's just no special way to
spell that.)
2018-03-20 14:49:10 -07:00
Sho Ikeda
e5223e4826 [stdlib/public][gardening] Prefer os(macOS) over os(OSX) 2018-03-09 09:10:35 +09:00
Max Moiseev
5650f80937 [stdlib] Annotate types with @_fixed_layout
This will allows us to build the standard library in resilient mode by
default, hopefully, without performance regression.

<rdar://problem/36362648>
2018-01-09 14:46:30 -08:00
Nate Cook
b2f75d5970 [stdlib] Add documentation for concrete Codable methods 2018-01-05 00:29:50 -06:00
Nate Cook
a800f0cc4f [NFC] Reindent and rewrap to stdlib conventions 2017-12-01 16:05:07 -06:00
Nate Cook
b73e8570f5 [NFC] Gybbify repeated code 2017-12-01 15:25:55 -06:00
Nate Cook
158b1a498d [NFC] Convert Codable.swift to .swift.gyb 2017-12-01 15:25:55 -06:00
Tony Parker
ff65a2b2a1 Revert "[stdlib] Reformatting and gybbification for Codable &co" 2017-05-02 17:06:51 -07:00
Nate Cook
f7abeb0a66 [stdlib] GYB Codable and remove duplicated code 2017-05-02 02:31:13 -05:00
Nate Cook
443dbd727a [stdlib] Rename Codable.swift to .gyb 2017-05-01 23:05:10 -05:00