Skip to content

Commit 9e5e63b

Browse files
author
Daniel Kroening
authored
Merge pull request #4368 from diffblue/struct_exprt_API
struct_exprt API [do not merge before 2019-07-12]
2 parents 73e410a + 1cbd476 commit 9e5e63b

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

src/util/std_expr.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,14 +1755,7 @@ inline union_exprt &to_union_expr(exprt &expr)
17551755
class struct_exprt : public multi_ary_exprt
17561756
{
17571757
public:
1758-
DEPRECATED(
1759-
SINCE(2018, 9, 21, "use struct_exprt(component_name, value, type) instead"))
1760-
struct_exprt() : multi_ary_exprt(ID_struct)
1761-
{
1762-
}
1763-
1764-
DEPRECATED(
1765-
SINCE(2019, 1, 12, "use struct_exprt(component_name, value, type) instead"))
1758+
DEPRECATED(SINCE(2019, 1, 12, "use struct_exprt(operands, type) instead"))
17661759
explicit struct_exprt(const typet &_type) : multi_ary_exprt(ID_struct, _type)
17671760
{
17681761
}

src/util/string_expr.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,6 @@ inline const array_string_exprt &to_array_string_expr(const exprt &expr)
108108
class refined_string_exprt : public struct_exprt
109109
{
110110
public:
111-
DEPRECATED(SINCE(
112-
2019,
113-
1,
114-
12,
115-
"use refined_string_exprt(length, content, type) instead"))
116-
refined_string_exprt() : struct_exprt()
117-
{
118-
}
119-
120111
refined_string_exprt(
121112
const exprt &_length,
122113
const exprt &_content,

0 commit comments

Comments
 (0)