mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Promote feature NonescapableAccessorOnTrivial to be non-experimental
This flag was not experimental for any good reason; it should always be enabled. The flag only exists so we can introduce a new API: UnsafeMutablePointer.mutableSpan. Supported compilers cannot handle the new API. rdar://154247502 (Promote feature NonescapableAccessorOnTrivial to be non-experimental) (cherry picked from commit 3dc0e622bac5576bdb29ab343b46f6492dd4b9ff)
This commit is contained in:
@@ -48,7 +48,7 @@ import lifetime_dependence
|
||||
// CHECK: public var span: Swift.Span<Element> {
|
||||
// CHECK: @lifetime(borrow self)
|
||||
// CHECK: @_alwaysEmitIntoClient get {
|
||||
// CHECK: #if compiler(>=5.3) && $LifetimeDependence && $NonescapableAccessorOnTrivial
|
||||
// CHECK: #if compiler(>=5.3) && $NonescapableAccessorOnTrivial && $LifetimeDependence
|
||||
// CHECK: public var mutableSpan: Swift.MutableSpan<Element> {
|
||||
// CHECK: @lifetime(borrow self)
|
||||
// CHECK: @_alwaysEmitIntoClient get {
|
||||
|
||||
Reference in New Issue
Block a user