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
a3f9a4c408
Fix a comment in MachError.swift
2018-03-14 13:57:00 +09: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
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
practicalswift
5bc293cc09
[gardening] Add missing licensing headers.
2016-11-28 21:40:06 +01:00
Nicholas Maccharoli
384b2e3b83
[gardening] fix enum value spacing
2016-09-21 18:03:22 +09:00
Doug Gregor
fcd5d07c20
[Grand renaming] Rename MachError constants to lowerCamelCase.
2016-07-12 10:53:52 -07:00
Doug Gregor
b1777b194c
[SE-0112] Teach MachError to store the underlying NSError.
...
The error code is now specified by MachErrorCode.
2016-07-12 10:53:52 -07:00
Arsen Gasparyan
2c634e7fca
Change all uses of 'CInt' to 'Int32' in the SDK overlay
2016-06-05 20:52:23 +03:00
danra
7c15fc577e
Cosmetic fixes (NFC)
...
- Added missing periods to end of comments
- Remove extra whitespace
- Add comment to endif at EOF indicating what it ends
2016-04-02 16:39:48 +03:00
rintaro ishizaki
d875a56a75
[stdlib] Moved stdlib/public/SDK/Darwin to stdlib/public/Platform. NFC
2016-03-22 16:05:51 +09:00