Skip to content

[6.0] Requestify LifetimeDependenceInfo #73004

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
Apr 16, 2024
Merged

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Apr 12, 2024

Explanation: Use the request evaluator method to query LifetimeDependenceInfo.
With this change, LifetimeDependenceInfo is serialized in both explicit and inferred cases. And on deserialization, LifetimeDependenceInfo is cached on the decl, so that InterfaceTypeRequest does not have to recompute this info.

Original PR: #72916

Issue: rdar://125938675

Scope: Effects lifetime dependence inference on deserialized decls

Risk: Low. Effects only experimental feature NonEscapableTypes

Testing: Unit tests

Reviewer: @slavapestov

@meg-gupta meg-gupta marked this pull request as ready for review April 15, 2024 20:05
@meg-gupta meg-gupta requested a review from a team as a code owner April 15, 2024 20:05
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta enabled auto-merge April 15, 2024 21:08
@meg-gupta meg-gupta merged commit 03c948d into swiftlang:release/6.0 Apr 16, 2024
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.

2 participants