diff --git a/src/util/std_types.h b/src/util/std_types.h index 65df782c18f..0914bfde922 100644 --- a/src/util/std_types.h +++ b/src/util/std_types.h @@ -32,9 +32,10 @@ class bool_typet:public typet } }; -/// The NIL type, i.e., an invalid type, no value. Use `optional` -/// instead where possible. -class nil_typet:public typet +/// The NIL type, i.e., an invalid type, no value. +/// \deprecated Use `optional` instead. +// NOLINTNEXTLINE +class DEPRECATED("Use `optional` instead.") nil_typet : public typet { public: nil_typet():typet(static_cast(get_nil_irep()))