@@ -1046,6 +1046,7 @@ class plus_exprt:public multi_ary_exprt
1046
1046
{
1047
1047
}
1048
1048
1049
+ DEPRECATED (" use plus_exprt(lhs, rhs, type) instead" )
1049
1050
plus_exprt (const typet &type) : multi_ary_exprt(ID_plus, type)
1050
1051
{
1051
1052
}
@@ -1743,6 +1744,7 @@ class array_exprt : public multi_ary_exprt
1743
1744
{
1744
1745
}
1745
1746
1747
+ DEPRECATED (" use array_exprt(operands, type) instead" )
1746
1748
explicit array_exprt (const array_typet &_type)
1747
1749
: multi_ary_exprt(ID_array, _type)
1748
1750
{
@@ -1778,6 +1780,7 @@ template<> inline bool can_cast_expr<array_exprt>(const exprt &base)
1778
1780
class array_list_exprt : public multi_ary_exprt
1779
1781
{
1780
1782
public:
1783
+ DEPRECATED (" use array_list_exprt(operands, type) instead" )
1781
1784
explicit array_list_exprt (const array_typet &_type)
1782
1785
: multi_ary_exprt(ID_array_list, _type)
1783
1786
{
@@ -1804,6 +1807,7 @@ class vector_exprt : public multi_ary_exprt
1804
1807
{
1805
1808
}
1806
1809
1810
+ DEPRECATED (" use vector_exprt(operands, type) instead" )
1807
1811
explicit vector_exprt (const vector_typet &_type)
1808
1812
: multi_ary_exprt(ID_vector, _type)
1809
1813
{
@@ -1924,6 +1928,7 @@ class struct_exprt : public multi_ary_exprt
1924
1928
{
1925
1929
}
1926
1930
1931
+ DEPRECATED (" use struct_exprt(component_name, value, type) instead" )
1927
1932
explicit struct_exprt (const typet &_type) : multi_ary_exprt(ID_struct, _type)
1928
1933
{
1929
1934
}
@@ -2408,6 +2413,7 @@ inline void validate_expr(const floatbv_typecast_exprt &value)
2408
2413
class and_exprt :public multi_ary_exprt
2409
2414
{
2410
2415
public:
2416
+ DEPRECATED (" use and_exprt(op, op) instead" )
2411
2417
and_exprt ():multi_ary_exprt(ID_and, bool_typet())
2412
2418
{
2413
2419
}
@@ -2530,6 +2536,7 @@ inline void validate_expr(const implies_exprt &value)
2530
2536
class or_exprt :public multi_ary_exprt
2531
2537
{
2532
2538
public:
2539
+ DEPRECATED (" use or_exprt(op, op) instead" )
2533
2540
or_exprt ():multi_ary_exprt(ID_or, bool_typet())
2534
2541
{
2535
2542
}
@@ -2606,6 +2613,7 @@ template<> inline bool can_cast_expr<or_exprt>(const exprt &base)
2606
2613
class xor_exprt :public multi_ary_exprt
2607
2614
{
2608
2615
public:
2616
+ DEPRECATED (" use xor_exprt(op, op) instead" )
2609
2617
xor_exprt ():multi_ary_exprt(ID_bitxor, bool_typet())
2610
2618
{
2611
2619
}
@@ -3336,6 +3344,7 @@ class not_exprt:public unary_exprt
3336
3344
PRECONDITION (op.type ().id ()==ID_bool);
3337
3345
}
3338
3346
3347
+ DEPRECATED (" use not_exprt(op) instead" )
3339
3348
not_exprt ():unary_exprt(ID_not, bool_typet())
3340
3349
{
3341
3350
}
@@ -4889,6 +4898,7 @@ inline void validate_expr(const popcount_exprt &value)
4889
4898
class cond_exprt : public multi_ary_exprt
4890
4899
{
4891
4900
public:
4901
+ DEPRECATED (" use cond_exprt(operands, type) instead" )
4892
4902
explicit cond_exprt (const typet &_type) : multi_ary_exprt(ID_cond, _type)
4893
4903
{
4894
4904
}
0 commit comments