@@ -1057,6 +1057,7 @@ class plus_exprt:public multi_ary_exprt
1057
1057
{
1058
1058
}
1059
1059
1060
+ DEPRECATED (" use plus_exprt(lhs, rhs, type) instead" )
1060
1061
plus_exprt (const typet &type) : multi_ary_exprt(ID_plus, type)
1061
1062
{
1062
1063
}
@@ -1754,6 +1755,7 @@ class array_exprt : public multi_ary_exprt
1754
1755
{
1755
1756
}
1756
1757
1758
+ DEPRECATED (" use array_exprt(operands, type) instead" )
1757
1759
explicit array_exprt (const array_typet &_type)
1758
1760
: multi_ary_exprt(ID_array, _type)
1759
1761
{
@@ -1789,6 +1791,7 @@ template<> inline bool can_cast_expr<array_exprt>(const exprt &base)
1789
1791
class array_list_exprt : public multi_ary_exprt
1790
1792
{
1791
1793
public:
1794
+ DEPRECATED (" use array_list_exprt(operands, type) instead" )
1792
1795
explicit array_list_exprt (const array_typet &_type)
1793
1796
: multi_ary_exprt(ID_array_list, _type)
1794
1797
{
@@ -1815,6 +1818,7 @@ class vector_exprt : public multi_ary_exprt
1815
1818
{
1816
1819
}
1817
1820
1821
+ DEPRECATED (" use vector_exprt(operands, type) instead" )
1818
1822
explicit vector_exprt (const vector_typet &_type)
1819
1823
: multi_ary_exprt(ID_vector, _type)
1820
1824
{
@@ -1935,6 +1939,7 @@ class struct_exprt : public multi_ary_exprt
1935
1939
{
1936
1940
}
1937
1941
1942
+ DEPRECATED (" use struct_exprt(component_name, value, type) instead" )
1938
1943
explicit struct_exprt (const typet &_type) : multi_ary_exprt(ID_struct, _type)
1939
1944
{
1940
1945
}
@@ -2419,6 +2424,7 @@ inline void validate_expr(const floatbv_typecast_exprt &value)
2419
2424
class and_exprt :public multi_ary_exprt
2420
2425
{
2421
2426
public:
2427
+ DEPRECATED (" use and_exprt(op, op) instead" )
2422
2428
and_exprt ():multi_ary_exprt(ID_and, bool_typet())
2423
2429
{
2424
2430
}
@@ -2541,6 +2547,7 @@ inline void validate_expr(const implies_exprt &value)
2541
2547
class or_exprt :public multi_ary_exprt
2542
2548
{
2543
2549
public:
2550
+ DEPRECATED (" use or_exprt(op, op) instead" )
2544
2551
or_exprt ():multi_ary_exprt(ID_or, bool_typet())
2545
2552
{
2546
2553
}
@@ -2617,6 +2624,7 @@ template<> inline bool can_cast_expr<or_exprt>(const exprt &base)
2617
2624
class xor_exprt :public multi_ary_exprt
2618
2625
{
2619
2626
public:
2627
+ DEPRECATED (" use xor_exprt(op, op) instead" )
2620
2628
xor_exprt ():multi_ary_exprt(ID_bitxor, bool_typet())
2621
2629
{
2622
2630
}
@@ -3347,6 +3355,7 @@ class not_exprt:public unary_exprt
3347
3355
PRECONDITION (op.type ().id ()==ID_bool);
3348
3356
}
3349
3357
3358
+ DEPRECATED (" use not_exprt(op) instead" )
3350
3359
not_exprt ():unary_exprt(ID_not, bool_typet())
3351
3360
{
3352
3361
}
@@ -4900,6 +4909,7 @@ inline void validate_expr(const popcount_exprt &value)
4900
4909
class cond_exprt : public multi_ary_exprt
4901
4910
{
4902
4911
public:
4912
+ DEPRECATED (" use cond_exprt(operands, type) instead" )
4903
4913
explicit cond_exprt (const typet &_type) : multi_ary_exprt(ID_cond, _type)
4904
4914
{
4905
4915
}
0 commit comments