|
11 | 11 |
|
12 | 12 | import CountedByNoEscapeClang
|
13 | 13 |
|
14 |
| -// CHECK: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *) |
| 14 | +// CHECK: /// This is an auto-generated wrapper for safer interop |
| 15 | +// CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *) |
15 | 16 | // CHECK-NEXT: @lifetime(_param1: copy _param1)
|
16 | 17 | // CHECK-NEXT: @_alwaysEmitIntoClient public func anonymous(_ _param1: inout MutableSpan<Int32>?)
|
17 |
| -// CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *) |
| 18 | + |
| 19 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
| 20 | +// CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *) |
18 | 21 | // CHECK-NEXT: @lifetime(p: copy p)
|
19 | 22 | // CHECK-NEXT: @_alwaysEmitIntoClient public func complexExpr(_ len: Int32, _ offset: Int32, _ p: inout MutableSpan<Int32>)
|
| 23 | + |
| 24 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
20 | 25 | // CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *)
|
21 | 26 | // CHECK-NEXT: @lifetime(p: copy p)
|
22 | 27 | // CHECK-NEXT: @_alwaysEmitIntoClient public func nonnull(_ p: inout MutableSpan<Int32>)
|
| 28 | + |
| 29 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
23 | 30 | // CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *)
|
24 | 31 | // CHECK-NEXT: @lifetime(p: copy p)
|
25 | 32 | // CHECK-NEXT: @_alwaysEmitIntoClient public func nullUnspecified(_ p: inout MutableSpan<Int32>)
|
| 33 | + |
| 34 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
26 | 35 | // CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *)
|
27 | 36 | // CHECK-NEXT: @lifetime(p: copy p)
|
28 | 37 | // CHECK-NEXT: @_alwaysEmitIntoClient public func nullable(_ p: inout MutableSpan<Int32>?)
|
| 38 | + |
| 39 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
29 | 40 | // CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *)
|
30 | 41 | // CHECK-NEXT: @lifetime(copy p)
|
31 | 42 | // CHECK-NEXT: @lifetime(p: copy p)
|
32 | 43 | // CHECK-NEXT: @_alwaysEmitIntoClient public func returnLifetimeBound(_ len1: Int32, _ p: inout MutableSpan<Int32>) -> MutableSpan<Int32>
|
| 44 | + |
| 45 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
33 | 46 | // CHECK-NEXT: @_alwaysEmitIntoClient @_disfavoredOverload public func returnPointer(_ len: Int32) -> UnsafeMutableBufferPointer<Int32>
|
| 47 | + |
| 48 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
34 | 49 | // CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *)
|
35 | 50 | // CHECK-NEXT: @lifetime(p1: copy p1)
|
36 | 51 | // CHECK-NEXT: @lifetime(p2: copy p2)
|
37 | 52 | // CHECK-NEXT: @_alwaysEmitIntoClient public func shared(_ len: Int32, _ p1: inout MutableSpan<Int32>, _ p2: inout MutableSpan<Int32>)
|
| 53 | + |
| 54 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
38 | 55 | // CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *)
|
39 | 56 | // CHECK-NEXT: @lifetime(p: copy p)
|
40 | 57 | // CHECK-NEXT: @_alwaysEmitIntoClient public func simple(_ p: inout MutableSpan<Int32>)
|
| 58 | + |
| 59 | +// CHECK-NEXT: /// This is an auto-generated wrapper for safer interop |
41 | 60 | // CHECK-NEXT: @available(visionOS 1.1, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *)
|
42 | 61 | // CHECK-NEXT: @lifetime(p: copy p)
|
43 | 62 | // CHECK-NEXT: @_alwaysEmitIntoClient public func swiftAttr(_ p: inout MutableSpan<Int32>)
|
|
0 commit comments