Skip to content

Conversation

kroening
Copy link
Collaborator

@kroening kroening commented Feb 27, 2023

This removes three deprecated methods from goto_programt::instructiont and goto_programt. Their replacement is straight-forward. The remaining users are replaced accordingly.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a 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).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@kroening kroening force-pushed the goto_program_deprecated branch from c0ab207 to 7bc5109 Compare February 27, 2023 17:50
@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Patch coverage: 80.00% and project coverage change: -0.08 ⚠️

Comparison is base (19470af) 78.50% compared to head (3e8e07a) 78.43%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7566      +/-   ##
===========================================
- Coverage    78.50%   78.43%   -0.08%     
===========================================
  Files         1670     1670              
  Lines       191679   191675       -4     
===========================================
- Hits        150479   150334     -145     
- Misses       41200    41341     +141     
Impacted Files Coverage Δ
src/cprover/cprover_parse_options.cpp 56.25% <0.00%> (ø)
src/goto-programs/goto_program.h 90.85% <ø> (+0.44%) ⬆️
src/goto-instrument/cover_basic_blocks.cpp 89.56% <100.00%> (ø)
src/goto-instrument/full_slicer.cpp 95.73% <100.00%> (ø)
src/goto-instrument/goto_program2code.cpp 69.91% <100.00%> (ø)
src/util/validate_types.cpp 36.66% <0.00%> (-56.67%) ⬇️
src/util/string_hash.cpp 9.09% <0.00%> (-36.37%) ⬇️
src/util/validate_expressions.cpp 78.12% <0.00%> (-15.63%) ⬇️
src/big-int/bigint.cc 74.73% <0.00%> (-14.27%) ⬇️
src/util/validate_helpers.h 88.88% <0.00%> (-11.12%) ⬇️
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kroening kroening marked this pull request as ready for review February 27, 2023 19:52
@tautschnig
Copy link
Collaborator

#include <util/deprecate.h> now can be/needs to be removed from goto_program.h (which in itself is great news).

This removes three deprecated methods from goto_programt.  Their
replacement is straight-forward.  The remaining users are replaced
accordingly.
@kroening kroening force-pushed the goto_program_deprecated branch from 7bc5109 to 3e8e07a Compare February 28, 2023 10:52
@kroening kroening merged commit 1efed70 into develop Feb 28, 2023
@kroening kroening deleted the goto_program_deprecated branch February 28, 2023 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants