Skip to content

[6.0 - stdlib] remove deprecations added by SE-0426 #74015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions stdlib/public/core/UnsafeRawPointer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,6 @@ extension UnsafeRawPointer {
/// with the value in the range of memory referenced by this pointer.
@inlinable
@_alwaysEmitIntoClient
@available(swift, deprecated: 6, message:
"Use the BitwiseCopyable-constrained overload"
)
public func loadUnaligned<T>(
fromByteOffset offset: Int = 0,
as type: T.Type
Expand Down Expand Up @@ -1344,9 +1341,6 @@ extension UnsafeMutableRawPointer {
/// with the value in the range of memory referenced by this pointer.
@inlinable
@_alwaysEmitIntoClient
@available(swift, deprecated: 6, message:
"Use the BitwiseCopyable-constrained overload"
)
public func loadUnaligned<T>(
fromByteOffset offset: Int = 0,
as type: T.Type
Expand Down Expand Up @@ -1450,9 +1444,6 @@ extension UnsafeMutableRawPointer {
@_alwaysEmitIntoClient
// This custom silgen name is chosen to not interfere with the old ABI
@_silgen_name("_swift_se0349_UnsafeMutableRawPointer_storeBytes")
@available(swift, deprecated: 6, message:
"Use the BitwiseCopyable-constrained overload"
)
public func storeBytes<T>(
of value: T, toByteOffset offset: Int = 0, as type: T.Type
) {
Expand Down