[NFC] Update tests and diagnostics

This commit is contained in:
Meghana Gupta
2025-06-06 01:08:43 -07:00
parent 28af54a778
commit 44e05fa858
86 changed files with 1158 additions and 967 deletions

View File

@@ -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