Skip to content

[move-function] Some refactorings in preparation for defer #40618

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

gottesmm
Copy link
Contributor

Just breaking up the logic so I can reuse it for defer.

…or to be a local variable instead of a field.

NFC.
…esObjectChecker and into the users of said checker.

This ensures that MoveKillsCopyableAddressesObjectChecker is only ever
processing a single address rather than maintaining this worklist. This will
enable me to reuse parts of it in a simpler way for defer checking.
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm gottesmm merged commit 296e38f into swiftlang:main Dec 18, 2021
@gottesmm gottesmm deleted the pr-d3608d451d1e66f7ef8a30468cdbad0b78f44e8e branch December 18, 2021 10: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.

1 participant