Skip to content

Add public interface for natural_loopst and natural_loopt #5059

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

Merged

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Aug 23, 2019

Makes it easier to alter the implementation of these types. No behavioural change intended. Depends on #5051; do not review the first two commits.

Copy link
Member

@peterschrammel peterschrammel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI seems to fail


public:
typedef std::set<T> loop_instructionst;
loop_instructionst loop_instructions;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this public?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh, fixed it now, and made these private as you say.

@peterschrammel peterschrammel changed the title Add public interface for natural_loopst and natural_loopt Add public interface for natural_loopst and natural_loopt [depends: 5051] Aug 23, 2019
@smowton smowton force-pushed the smowton/cleanup/natural-loops-interface branch 5 times, most recently from d6ce8c3 to 0e7a98a Compare August 23, 2019 21:36
@smowton smowton changed the title Add public interface for natural_loopst and natural_loopt [depends: 5051] Add public interface for natural_loopst and natural_loopt Aug 23, 2019
@smowton smowton force-pushed the smowton/cleanup/natural-loops-interface branch from 0e7a98a to ec607df Compare August 26, 2019 06:18
This hides the implementation of natural_loopt, making it easier to change in future.
No behavioural change intended.
@smowton smowton force-pushed the smowton/cleanup/natural-loops-interface branch from ec607df to ec02d14 Compare August 26, 2019 08:46
Copy link
Contributor

@allredj allredj left a 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: ec02d14).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/124559280

@smowton
Copy link
Contributor Author

smowton commented Aug 26, 2019

@peterschrammel now passing, please re-review

@smowton smowton merged commit fdf114e into diffblue:develop Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants