Skip to content

[stdlib] convert U[M]R[B]P.withMemoryRebound() to typed throws #72036

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

Conversation

glessard
Copy link
Contributor

@glessard glessard commented Mar 2, 2024

Part of the ongoing conversion of standard library rethrows functions, after SE-0413.

This converts the withMemoryRebound functions from the raw pointer types and their slices. These were already annotated as @_alwaysEmitIntoClient, so the change has no ABI impact.

@glessard glessard requested a review from a team as a code owner March 2, 2024 05:37
@glessard
Copy link
Contributor Author

glessard commented Mar 2, 2024

@swift-ci please test

@glessard glessard enabled auto-merge March 2, 2024 05:37
@glessard
Copy link
Contributor Author

glessard commented Mar 2, 2024

Test failure is an unrelated issue in a C++ interop test.

@glessard
Copy link
Contributor Author

glessard commented Mar 2, 2024

@swift-ci please smoke test macOS platform

@glessard glessard merged commit 7cbe2cf into swiftlang:main Mar 2, 2024
@glessard glessard deleted the rawpointer-withmemoryrebound-typed-throws branch March 3, 2024 01:40
tshortli added a commit to tshortli/swift that referenced this pull request Mar 13, 2024
…pedThrows`.

Older compilers can no longer see the definition of `withMemoryRebound()` now
that it has adopted typed throws (swiftlang#72036).

Resolves rdar://124540428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant