@@ -34,17 +34,6 @@ class bool_typet:public typet
34
34
}
35
35
};
36
36
37
- // / The NIL type, i.e., an invalid type, no value.
38
- // / \deprecated Use `optional<typet>` instead.
39
- // NOLINTNEXTLINE
40
- class DEPRECATED (" Use `optional<typet>` instead." ) nil_typet : public typet
41
- {
42
- public:
43
- nil_typet ():typet (static_cast <const typet &>(get_nil_irep ()))
44
- {
45
- }
46
- };
47
-
48
37
// / The empty type
49
38
class empty_typet :public typet
50
39
{
@@ -814,26 +803,11 @@ class code_typet:public typet
814
803
return_type () = _return_type;
815
804
}
816
805
817
- // / \deprecated
818
- DEPRECATED (" Use the two argument constructor instead" )
819
- code_typet ():typet(ID_code)
820
- {
821
- // make sure these properties are always there to avoid problems
822
- // with irept comparisons
823
- add (ID_parameters);
824
- add_type (ID_return_type);
825
- }
826
-
827
806
// used to be argumentt -- now uses standard terminology
828
807
829
808
class parametert :public exprt
830
809
{
831
810
public:
832
- DEPRECATED (" use parametert(type) instead" )
833
- parametert ():exprt(ID_parameter)
834
- {
835
- }
836
-
837
811
explicit parametert (const typet &type):exprt(ID_parameter, type)
838
812
{
839
813
}
@@ -1809,11 +1783,6 @@ inline vector_typet &to_vector_type(typet &type)
1809
1783
class complex_typet :public type_with_subtypet
1810
1784
{
1811
1785
public:
1812
- DEPRECATED (" use complex_typet(type) instead" )
1813
- complex_typet ():type_with_subtypet(ID_complex)
1814
- {
1815
- }
1816
-
1817
1786
explicit complex_typet (const typet &_subtype):
1818
1787
type_with_subtypet(ID_complex, _subtype)
1819
1788
{
0 commit comments