-
Notifications
You must be signed in to change notification settings - Fork 1.7k
C++: Implement guards logic for switch statements #15958
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
C++: Implement guards logic for switch statements #15958
Conversation
094e1be
to
cb78f31
Compare
a56b5cd
to
40dbc6f
Compare
I see some alert changes in DCA. Are those correct? |
I thought they were correct, but now that I look slightly closer I've spotted a problem. Thanks for making me double check them! I've fixed in this 350b239. Rerunning DCA now. |
I should've paid more attention to the test changes. They revealed the same problem >.< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if DCA is happy this time around
DCA looks uneventful now (🎉 I guess 😄) |
This PR is the follow-up to #15941 that addresses this comment I made in that PR:
Commit-by-commit review recommended.
This PR only does the required API additions to support
GuardCondition.comparesEq
forswitch
statements. We also have a predicateGuardCondition.comparesLt
which needs a similar treatment. I'm delaying that until a future PR