Skip to content

[5.9][move-only] When storing a trivial field of a borrowed parameter, treat the store as a trivial use. #66970

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
Jun 28, 2023

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Jun 28, 2023

• Description: When storing a trivial field of a borrowed parameter, treat the store as a trivial use.
• Risk: This is low risk since it only affects noncopyable types.
• Original PR: #66969
• Reviewed By: @jckarter
• Testing: Added regression tests
• Resolves: rdar://111354827

(cherry picked from commit 6e850d7)

…at the store as a trivial use.

rdar://111354827
(cherry picked from commit 6e850d7)
@gottesmm gottesmm requested a review from a team as a code owner June 28, 2023 00:11
@gottesmm gottesmm requested a review from jckarter June 28, 2023 00:11
@gottesmm
Copy link
Contributor Author

@swift-ci test

@gottesmm gottesmm merged commit 6c9fd25 into swiftlang:release/5.9 Jun 28, 2023
@gottesmm gottesmm deleted the release-5.9-rdar111354827 branch June 28, 2023 07:18
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.

4 participants