-
Notifications
You must be signed in to change notification settings - Fork 274
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
Add public interface for natural_loopst and natural_loopt #5059
Conversation
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.
CI seems to fail
|
||
public: | ||
typedef std::set<T> loop_instructionst; | ||
loop_instructionst loop_instructions; |
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.
Why is this public?
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.
Doh, fixed it now, and made these private as you say.
d6ce8c3
to
0e7a98a
Compare
0e7a98a
to
ec607df
Compare
This hides the implementation of natural_loopt, making it easier to change in future. No behavioural change intended.
ec607df
to
ec02d14
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: ec02d14).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/124559280
@peterschrammel now passing, please re-review |
Makes it easier to alter the implementation of these types. No behavioural change intended. Depends on #5051; do not review the first two commits.