-
Notifications
You must be signed in to change notification settings - Fork 274
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,15 +108,6 @@ inline const array_string_exprt &to_array_string_expr(const exprt &expr) | |
class refined_string_exprt : public struct_exprt | ||
{ | ||
public: | ||
DEPRECATED(SINCE( | ||
2019, | ||
1, | ||
12, | ||
"use refined_string_exprt(length, content, type) instead")) | ||
refined_string_exprt() : struct_exprt() | ||
{ | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This has only been marked as deprecated on 12 Jan 2019. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
|
||
refined_string_exprt( | ||
const exprt &_length, | ||
const exprt &_content, | ||
|
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.
Do we apply a 6-months rule?
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 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.
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.
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.)
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.
That might well be a reasonable indicator. Let's wait with this one, and I'll merge #4367.