-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SE-0334: Pointer API Usability Improvements #39639
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
Conversation
8bf9ae6
to
f3816b7
Compare
30599af
to
d9c8327
Compare
d9c8327
to
e89e66e
Compare
4c052ef
to
941af40
Compare
@swift-ci please smoke test |
941af40
to
b24ae11
Compare
@swift-ci please smoke test |
3751fa6
to
1a06919
Compare
@swift-ci please smoke test |
@swift-ci please test |
Build failed |
@swift-ci please smoke test macOS platform |
@swift-ci please test |
5dd16ac
to
3e71a7a
Compare
@swift-ci please smoke test |
@swift-ci please smoke test macOS platform |
@swift-ci please smoke test |
- The stride check in `UnsafePointer.withMemoryRebound` makes less sense when rebinding memory for a single element. - This skips the stride-matching portion of the `_debugPrecondition` in `withMemoryRebound` when `count == 1`.
f51a6e6
to
dc09862
Compare
rebased to resolve merge conflict |
@swift-ci please smoke test |
dc09862
to
bb05e85
Compare
@swift-ci please smoke test |
@swift-ci please smoke test macOS platform |
Implementation of SE-0334, "Pointer API Usability Improvements. See proposal here.
Addresses rdar://64342031, SR-11156 (rdar://53272880), rdar://22541346 and rdar://88087964.