@@ -33,17 +33,6 @@ class bool_typet:public typet
3333 }
3434};
3535
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-
4736// / The empty type
4837class empty_typet :public typet
4938{
@@ -813,26 +802,11 @@ class code_typet:public typet
813802 return_type () = _return_type;
814803 }
815804
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-
826805 // used to be argumentt -- now uses standard terminology
827806
828807 class parametert :public exprt
829808 {
830809 public:
831- DEPRECATED (" use parametert(type) instead" )
832- parametert ():exprt(ID_parameter)
833- {
834- }
835-
836810 explicit parametert (const typet &type):exprt(ID_parameter, type)
837811 {
838812 }
@@ -1808,11 +1782,6 @@ inline vector_typet &to_vector_type(typet &type)
18081782class complex_typet :public type_with_subtypet
18091783{
18101784public:
1811- DEPRECATED (" use complex_typet(type) instead" )
1812- complex_typet ():type_with_subtypet(ID_complex)
1813- {
1814- }
1815-
18161785 explicit complex_typet (const typet &_subtype):
18171786 type_with_subtypet(ID_complex, _subtype)
18181787 {
0 commit comments