File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
test/api-digester/Outputs Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -284,6 +284,7 @@ extension UInt {
284284/// A wrapper around a C `va_list` pointer.
285285#if arch(arm64) && !(os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(visionOS) || os(Windows))
286286@frozen
287+ @unsafe
287288public struct CVaListPointer {
288289 @usableFromInline // unsafe-performance
289290 internal var _value : ( __stack: UnsafeMutablePointer < Int > ? ,
@@ -317,6 +318,7 @@ extension CVaListPointer: CustomDebugStringConvertible {
317318#else
318319
319320@frozen
321+ @unsafe
320322public struct CVaListPointer {
321323 @usableFromInline // unsafe-performance
322324 internal var _value : UnsafeMutableRawPointer
Original file line number Diff line number Diff line change @@ -364,6 +364,7 @@ Func ContiguousArray.withUnsafeMutableBufferPointer(_:) is now without @rethrows
364364// Adoption of @unsafe
365365Func unsafeBitCast(_:to:) is now with @unsafe
366366Func unsafeDowncast(_:to:) is now with @unsafe
367+ Struct CVaListPointer is now with @unsafe
367368Struct OpaquePointer is now with @unsafe
368369Struct Unmanaged is now with @unsafe
369370Struct UnsafeBufferPointer is now with @unsafe
You can’t perform that action at this time.
0 commit comments