-
Notifications
You must be signed in to change notification settings - Fork 273
Remove now-unused bitvector conversion exceptions #4691
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
Remove now-unused bitvector conversion exceptions #4691
Conversation
e7e6cab
to
f11e2b2
Compare
f11e2b2
to
9fa366b
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.
I guess it was done in an earlier PR - this would have been easier to review I think if changes removing the throws were included too. But since this just removes apparently dead code lgtm.
#ifdef _MSC_VER | ||
#include <stdexcept> | ||
// TODO(tkiley): Nested exception logging not supported on windows due to a bug | ||
// TODO(tkiley): in MSVC++ Compiler (diffblue/cbmc#2104): |
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.
Add fixes #2104
to auto close the issue
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.
Done.
9fa366b
to
2d5688a
Compare
I have step-by-step removed the throws by actually implementing the cases, hence combining that into a single PR didn't seem like the best option. The more-or-less final step in getting rid of the throws was #4651. |
Byte-operator lowering no longer throws any exceptions, and thus don't need to attempt to catch them either. Remove the entire infrastructure built around these. Fixes: diffblue#2103
2d5688a
to
2b4f35e
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: 2b4f35e).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113718309
Byte-operator lowering no longer throws any exceptions, and thus don't
need to attempt to catch them either. Remove the entire infrastructure
built around these.
Fixes: #2103