mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Update tests and diagnostics
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
func myFunc(_ ptr: UnsafeMutableRawPointer, _ size: CInt) {
|
||||
}
|
||||
|
||||
// CHECK: @_alwaysEmitIntoClient @lifetime(ptr: copy ptr) @_disfavoredOverload
|
||||
// CHECK: @_alwaysEmitIntoClient @_lifetime(ptr: copy ptr) @_disfavoredOverload
|
||||
// CHECK-NEXT: func myFunc(_ ptr: inout MutableRawSpan) {
|
||||
// CHECK-NEXT: let size = CInt(exactly: ptr.byteCount)!
|
||||
// CHECK-NEXT: return unsafe ptr.withUnsafeMutableBytes { _ptrPtr in
|
||||
|
||||
Reference in New Issue
Block a user