Skip to content

Commit c8f3fd6

Browse files
committed
Remove deprecated *_typet constructors
These have been marked deprecated for several months.
1 parent 7bc3dbb commit c8f3fd6

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/util/std_types.h

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,6 @@ class bool_typet:public typet
3434
}
3535
};
3636

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-
4837
/// The empty type
4938
class empty_typet:public typet
5039
{
@@ -814,26 +803,11 @@ class code_typet:public typet
814803
return_type() = _return_type;
815804
}
816805

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-
827806
// used to be argumentt -- now uses standard terminology
828807

829808
class parametert:public exprt
830809
{
831810
public:
832-
DEPRECATED("use parametert(type) instead")
833-
parametert():exprt(ID_parameter)
834-
{
835-
}
836-
837811
explicit parametert(const typet &type):exprt(ID_parameter, type)
838812
{
839813
}
@@ -1809,11 +1783,6 @@ inline vector_typet &to_vector_type(typet &type)
18091783
class complex_typet:public type_with_subtypet
18101784
{
18111785
public:
1812-
DEPRECATED("use complex_typet(type) instead")
1813-
complex_typet():type_with_subtypet(ID_complex)
1814-
{
1815-
}
1816-
18171786
explicit complex_typet(const typet &_subtype):
18181787
type_with_subtypet(ID_complex, _subtype)
18191788
{

0 commit comments

Comments
 (0)