Skip to content

Commit 0bf67f7

Browse files
author
Daniel Kroening
committed
Remove deprecated expression constructors
The most recent deprecation is Nov 8th 2019; there are straight-forward replacements.
1 parent a73bba5 commit 0bf67f7

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

src/util/std_expr.h

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -790,12 +790,6 @@ inline binary_relation_exprt &to_binary_relation_expr(exprt &expr)
790790
class multi_ary_exprt : public expr_protectedt
791791
{
792792
public:
793-
DEPRECATED(SINCE(2018, 12, 7, "use multi_ary_exprt(id, op, type) instead"))
794-
multi_ary_exprt(const irep_idt &_id, const typet &_type)
795-
: expr_protectedt(_id, _type)
796-
{
797-
}
798-
799793
multi_ary_exprt(const irep_idt &_id, operandst _operands, typet _type)
800794
: expr_protectedt(_id, std::move(_type))
801795
{
@@ -1437,12 +1431,6 @@ inline array_of_exprt &to_array_of_expr(exprt &expr)
14371431
class array_exprt : public multi_ary_exprt
14381432
{
14391433
public:
1440-
DEPRECATED(SINCE(2019, 1, 12, "use array_exprt(operands, type) instead"))
1441-
explicit array_exprt(const array_typet &_type)
1442-
: multi_ary_exprt(ID_array, _type)
1443-
{
1444-
}
1445-
14461434
array_exprt(operandst _operands, array_typet _type)
14471435
: multi_ary_exprt(ID_array, std::move(_operands), std::move(_type))
14481436
{
@@ -1644,11 +1632,6 @@ inline union_exprt &to_union_expr(exprt &expr)
16441632
class struct_exprt : public multi_ary_exprt
16451633
{
16461634
public:
1647-
DEPRECATED(SINCE(2019, 1, 12, "use struct_exprt(operands, type) instead"))
1648-
explicit struct_exprt(const typet &_type) : multi_ary_exprt(ID_struct, _type)
1649-
{
1650-
}
1651-
16521635
struct_exprt(operandst _operands, typet _type)
16531636
: multi_ary_exprt(ID_struct, std::move(_operands), std::move(_type))
16541637
{
@@ -1936,12 +1919,6 @@ inline object_descriptor_exprt &to_object_descriptor_expr(exprt &expr)
19361919
class dynamic_object_exprt:public binary_exprt
19371920
{
19381921
public:
1939-
DEPRECATED(SINCE(2019, 2, 11, "use dynamic_object_exprt(type) instead"))
1940-
dynamic_object_exprt()
1941-
: binary_exprt(exprt(ID_unknown), ID_dynamic_object, exprt(ID_unknown))
1942-
{
1943-
}
1944-
19451922
explicit dynamic_object_exprt(typet type)
19461923
: binary_exprt(
19471924
exprt(ID_unknown),
@@ -2006,12 +1983,6 @@ inline dynamic_object_exprt &to_dynamic_object_expr(exprt &expr)
20061983
class is_dynamic_object_exprt : public unary_predicate_exprt
20071984
{
20081985
public:
2009-
DEPRECATED(SINCE(2019, 11, 8, "use is_dynamic_object(op) instead"))
2010-
is_dynamic_object_exprt()
2011-
: unary_predicate_exprt(ID_is_dynamic_object, exprt())
2012-
{
2013-
}
2014-
20151986
explicit is_dynamic_object_exprt(const exprt &op)
20161987
: unary_predicate_exprt(ID_is_dynamic_object, op)
20171988
{

0 commit comments

Comments
 (0)