Skip to content

[SILGen] Added [defined] lifetimes for lets behind flag. #39283

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

nate-chandler
Copy link
Contributor

When -enable-experimental-defined-lifetimes is passed, SILGen emits defined borrow scopes for lets.

The new flag will guard work on the experimental implementation of
tracking lexical lifetimes in SIL.
When -enable-experimental-defined-lifetimes is passed, SILGen emits
lexical scopes for lets.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test windows platform

@nate-chandler nate-chandler merged commit e68b6a7 into swiftlang:main Sep 14, 2021
@nate-chandler nate-chandler deleted the lexical_lifetimes/let/initial branch September 14, 2021 15:47
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