Skip to content

Stop binding a constant reference to a temporary that goes away. #64917

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 4, 2023

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented Apr 4, 2023

Thank you, ASan.

Fixes rdar://107621137, ASan reporting a use-after-end-of-scope for this const &.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 0acd38d into swiftlang:main Apr 4, 2023
@DougGregor DougGregor deleted the thank-you-asan branch April 4, 2023 23:13
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