Skip to content

struct_exprt API [do not merge before 2019-07-12] #4368

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
merged 3 commits into from
Sep 4, 2019
Merged

Conversation

kroening
Copy link
Member

  • 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.

DEPRECATED("use refined_string_exprt(length, content, type) instead")
refined_string_exprt() : struct_exprt()
{
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This has only been marked as deprecated on 12 Jan 2019.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes; however, I doubt it ever had any external user at all, given how specific it is to the string refiner.

DEPRECATED("use struct_exprt(component_name, value, type) instead")
struct_exprt() : multi_ary_exprt(ID_struct)
{
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we apply a 6-months rule?

Copy link
Member Author

Choose a reason for hiding this comment

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

I would say it really depends on how much it inconveniences others. This one is a bit risky, since structs are pretty common. On the other hand, it's likely easy to fix.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Well, something in this PR does seem to break building TG, so clearly one of the constructors is being used externally. (#3768 does take care of removing all of them, but is marked as do-not-merge-before-end-of-March.)

Copy link
Member Author

Choose a reason for hiding this comment

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

That might well be a reasonable indicator. Let's wait with this one, and I'll merge #4367.

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: 48a93a0).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/104062318
Status will be re-evaluated on next push.
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 compatibility was already broken by an earlier merge.

@tautschnig tautschnig changed the title struct_exprt API struct_exprt API [depends-on: #4423, #4424] Mar 23, 2019
tautschnig added a commit that referenced this pull request Mar 23, 2019
Add the deprecation date to each deprecated entity [blocks: #3768, #4248, #4368, #4371]
@tautschnig tautschnig changed the title struct_exprt API [depends-on: #4423, #4424] struct_exprt API Mar 23, 2019
@tautschnig tautschnig changed the title struct_exprt API struct_exprt API [do not merge before 2019-07-12] Mar 24, 2019
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: 73a5d32).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/105606677
Status will be re-evaluated on next push.
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 compatibility was already broken by an earlier merge.

@kroening kroening force-pushed the struct_exprt_API branch from 73a5d32 to 7662d52 Compare May 1, 2019 15:12
@smowton
Copy link
Contributor

smowton commented Aug 13, 2019

Noting the do-not-merge-before has expired

Daniel Kroening added 3 commits August 13, 2019 10:17
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: 1cbd476).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/122962820
Status will be re-evaluated on next push.
Common spurious failures include: 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); compatibility was already broken by an earlier merge.

@kroening kroening merged commit 9e5e63b into develop Sep 4, 2019
@kroening kroening deleted the struct_exprt_API branch September 4, 2019 09:45
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.

4 participants