mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
De-underscore @frozen, apply it to structs (#24185)
* De-underscore @frozen for enums * Add @frozen for structs, deprecate @_fixed_layout for them * Switch usage from _fixed_layout to frozen
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// RUN: %target-swift-frontend %s -emit-ir -g -o - | %FileCheck %s
|
||||
|
||||
@_fixed_layout
|
||||
@frozen
|
||||
public struct UnicodeScalar {
|
||||
var _value: UInt32
|
||||
public var value: UInt32 { return _value }
|
||||
|
||||
Reference in New Issue
Block a user