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