-
Notifications
You must be signed in to change notification settings - Fork 274
AI transformers now get function identifiers #3132
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
Oct 9, 2018
- Each commit message has a non-empty body, explaining why the change was made.
- My contribution is formatted in line with CODING_STANDARD.md.
- Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
- 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.
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.
The first commit making consistent the use of locations : yes, definitely accept. i thought I'd already fixed this but it looks like that hasn't been merged yet.
The second commit : why? It doesn't say why the API needs to change.
src/analyses/constant_propagator.h
Outdated
{ | ||
operator()(goto_function, ns); | ||
replace(goto_function, ns); | ||
} |
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 removed? This seems unrelated to the change described in the commit message.
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've put it back in, with a function identifier.
@martin-cs I assume it is because of #3126 |
@owen-jones-diffblue : thank you; that does make more sense. |
261dfc9
to
04c5277
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.
This PR failed Diffblue compatibility checks (cbmc commit: 261dfc9).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/87594310
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
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: 04c5277).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/87596523
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.
Looks good except as noted by @owen-jones-diffblue: using
isn't currently the recommended approach. Also, it would be nice if the commit message could please say that this is part of the larger effort that #3126 is.
Using vs typedef: see PR #3270 |
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.
Looks reasonable to me (even if my team will need to do a bit of rebasing fixup for some of our branches). I'd echo the comments about adding a bit of extra rationale to the commit messages.
04c5277
to
0190c10
Compare
@chrisr-diffblue Done! |
0190c10
to
9b8f6cc
Compare
This enables removing the function identifiers from the goto program instructions.
9b8f6cc
to
09b5ac1
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: 09b5ac1).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/90316108