Skip to content

[temp-rvalueopt] Extract out visiting projections from loads into a helper and use that instead of LLVM_FALLTHROUGH. #30290

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

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Mar 9, 2020

Using fallthroughs in general can lead to easy mistakes. This PR changes the
relevant code to use a helper instead. The reason why is that I am about to add
another instance of needing this exact helper and having to fall through
multiple switch cases will just make this even worse.


This is NFC.

…elper and use that instead of LLVM_FALLTHROUGH.

Using fallthroughs in general can lead to easy mistakes. This PR changes the
relevant code to use a helper instead. The reason why is that I am about to add
another instance of needing this exact helper and having to fall through
multiple switch cases will just make this even worse.
@gottesmm
Copy link
Contributor Author

gottesmm commented Mar 9, 2020

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 086d70b into swiftlang:master Mar 9, 2020
@gottesmm gottesmm deleted the pr-ee2175711b00634ad4bb0a4db8c43a3f09bf6fbc branch July 23, 2021 21:55
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