-
Notifications
You must be signed in to change notification settings - Fork 273
C front-end: cleanup label statement type checking #3277
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
56baf0d
to
a4b017f
Compare
a4b017f
to
9fdad71
Compare
The newly added test needs to be excluded from the SMT2 tests (this will become less painful once the SMT2 backend is fixed). |
Meaning I'd simply wait for that. |
9fdad71
to
b929839
Compare
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: b929839).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/90323327
else | ||
new_ops.move(code_op); | ||
if(code_op.is_not_nil()) | ||
new_ops.add(std::move(code_op)); |
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.
It is nice the code is a lot simpler - but we now don't check the operands size - is this a 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.
Type checking of labels is done elsewhere, I'd say this should be done over there.
The code used to contain a loop that had no effect. The regression test confirms that we properly handle nested labels anyway.
b929839
to
e430c29
Compare
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: e430c29).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/90466076
The code used to contain a loop that had no effect. The regression test confirms
that we properly handle nested labels anyway.