mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
extension Unicode {
|
||||
/// The result of attempting to parse a `T` from some input.
|
||||
@_fixed_layout // FIXME(sil-serialize-all)
|
||||
public enum ParseResult<T> {
|
||||
/// A `T` was parsed successfully
|
||||
case valid(T)
|
||||
|
||||
Reference in New Issue
Block a user