-
Notifications
You must be signed in to change notification settings - Fork 273
remove uses of base_type_eq #6989
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
kroening
commented
Jul 3, 2022
•
edited
Loading
edited
- Each commit message has a non-empty body, explaining why the change was made.
- Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
- The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
- Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
- My commit message includes data points confirming performance improvements (if claimed).
- My PR is restricted to a single feature or bugfix.
- White-space or formatting changes outside the feature-related changed lines are in commits of their own.
Codecov Report
@@ Coverage Diff @@
## develop #6989 +/- ##
===========================================
- Coverage 77.84% 77.82% -0.03%
===========================================
Files 1570 1569 -1
Lines 180439 180541 +102
===========================================
+ Hits 140468 140497 +29
- Misses 39971 40044 +73
Continue to review full report at Codecov.
|
a166cc2
to
ae165e1
Compare
e055075
to
d457b14
Compare
for(const exprt &op : expr.operands()) | ||
{ | ||
const typet &op_type=op.type(); | ||
if(base_type_eq(op_type, root_type, ns)) | ||
if(op_type == root_type) |
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.
With this change the ns
class member should be removed in a follow-up commit.
3747400
to
c729361
Compare
c729361
to
75c8799
Compare
base_type_eq has been deprecated since 2019; a previous attempt to remove it (#4056) has failed.
75c8799
to
47cd689
Compare
does_remove_constt::does_remove_constt(const goto_programt &goto_program) | ||
: goto_program(goto_program) |
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.
Thank you for adding this commit. The documentation above, however, also needs to be updated (removing lines 21 and 22) to keep doxygen happy.
The last uses have been removed, and base_type_eq has been deprecated since 2019; a previous attempt to remove it (#4056) has failed.
47cd689
to
e42aaf7
Compare