@@ -1642,16 +1642,16 @@ inline void validate_expr(const array_of_exprt &value)
1642
1642
1643
1643
1644
1644
// / \brief Array constructor from list of elements
1645
- class array_exprt : public exprt
1645
+ class array_exprt : public multi_ary_exprt
1646
1646
{
1647
1647
public:
1648
1648
DEPRECATED (" use array_exprt(type) instead" )
1649
- array_exprt ():exprt (ID_array)
1649
+ array_exprt () : multi_ary_exprt (ID_array)
1650
1650
{
1651
1651
}
1652
1652
1653
- explicit array_exprt (const array_typet &_type):
1654
- exprt (ID_array, _type)
1653
+ explicit array_exprt (const array_typet &_type)
1654
+ : multi_ary_exprt (ID_array, _type)
1655
1655
{
1656
1656
}
1657
1657
};
@@ -1682,11 +1682,11 @@ template<> inline bool can_cast_expr<array_exprt>(const exprt &base)
1682
1682
1683
1683
// / Array constructor from a list of index-element pairs
1684
1684
// / Operands are index/value pairs, alternating.
1685
- class array_list_exprt : public exprt
1685
+ class array_list_exprt : public multi_ary_exprt
1686
1686
{
1687
1687
public:
1688
1688
explicit array_list_exprt (const array_typet &_type)
1689
- : exprt (ID_array_list, _type)
1689
+ : multi_ary_exprt (ID_array_list, _type)
1690
1690
{
1691
1691
}
1692
1692
};
@@ -1703,16 +1703,16 @@ inline void validate_expr(const array_list_exprt &value)
1703
1703
}
1704
1704
1705
1705
// / \brief Vector constructor from list of elements
1706
- class vector_exprt : public exprt
1706
+ class vector_exprt : public multi_ary_exprt
1707
1707
{
1708
1708
public:
1709
1709
DEPRECATED (" use vector_exprt(type) instead" )
1710
- vector_exprt ():exprt (ID_vector)
1710
+ vector_exprt () : multi_ary_exprt (ID_vector)
1711
1711
{
1712
1712
}
1713
1713
1714
- explicit vector_exprt (const vector_typet &_type):
1715
- exprt (ID_vector, _type)
1714
+ explicit vector_exprt (const vector_typet &_type)
1715
+ : multi_ary_exprt (ID_vector, _type)
1716
1716
{
1717
1717
}
1718
1718
};
@@ -1823,16 +1823,15 @@ inline void validate_expr(const union_exprt &value)
1823
1823
1824
1824
1825
1825
// / \brief Struct constructor from list of elements
1826
- class struct_exprt : public exprt
1826
+ class struct_exprt : public multi_ary_exprt
1827
1827
{
1828
1828
public:
1829
1829
DEPRECATED (" use struct_exprt(component_name, value, type) instead" )
1830
- struct_exprt ():exprt (ID_struct)
1830
+ struct_exprt () : multi_ary_exprt (ID_struct)
1831
1831
{
1832
1832
}
1833
1833
1834
- explicit struct_exprt (const typet &_type):
1835
- exprt(ID_struct, _type)
1834
+ explicit struct_exprt (const typet &_type) : multi_ary_exprt(ID_struct, _type)
1836
1835
{
1837
1836
}
1838
1837
0 commit comments