Skip to content
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

[SR-1958] Check UnsafeMutablePointer uses for potential replacement with UnsafePointer #44567

Closed
gribozavr opened this issue Jul 1, 2016 · 3 comments
Assignees
Labels
affects ABI Flag: Affects ABI bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal

Comments

@gribozavr
Copy link
Collaborator

Previous ID SR-1958
Radar rdar://problem/18090166
Original Reporter @gribozavr
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, AffectsABI, swift-evolution-proposal-needed
Assignee @aschwaighofer
Priority Medium

md5: 6f133a661d871987f4fd9f6d931c8107

Issue Description:

UnsafeMutablePointer didn't always have an immutable variant, and when it was introduced I am guessing that many places could have changed to use it, but didn't. UnsafeMutablePointer is still pervasive. We should survey the uses and make sure they're all using mutability only as appropriate.

NOTE: Requires a swift-evolution proposal.

@aschwaighofer
Copy link
Member

The only API i could find was dprintf.

@aschwaighofer
Copy link
Member

Fixed in 3991d6f

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects ABI Flag: Affects ABI bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella swift evolution proposal needed Flag → feature: A feature that warrants a Swift evolution proposal
Projects
None yet
Development

No branches or pull requests

2 participants