Skip to content

copy_to_operands(exprt &&) -> add_to_operands #3254

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 Nov 1, 2018

The current name means we end up writing copy_to_operands(std::move(e)), which looks like a mistake, since the whole point is it's a move, not a copy. Instead let's call it add_to_operands with
overloads for copying or moving dependent on reference kind.

The current name means we end up writing `copy_to_operands(std::move(e))`, which looks like a mistake,
since the whole point is it's a move, not a copy. Instead let's call it `add_to_operands` with
overloads for copying or moving dependent on reference kind.
@smowton smowton force-pushed the smowton/cleanup/add-to-operands branch from 9087e47 to aea09dc Compare November 1, 2018 08:23
@tautschnig tautschnig merged commit 25d5bff into diffblue:develop Nov 1, 2018
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.

🚫
This PR failed Diffblue compatibility checks (cbmc commit: 9087e47).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/89921426
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).

The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.

@tautschnig
Copy link
Collaborator

tautschnig commented Nov 1, 2018

I may have merged this too early, not giving Joel-bot a chance to comment - but I'm quite surprised this broke TG?!

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: aea09dc).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/89919628

@smowton
Copy link
Contributor Author

smowton commented Nov 1, 2018

@tautschnig it was fine -- it was because I amended the commit and the bot still tried to work off the old version. I'll ask Joel if he could easily re-check for the commit's existence before reporting

@allredj
Copy link
Contributor

allredj commented Nov 1, 2018

Working on it! :-)

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