Skip to content

Commit 426debe

Browse files
author
svorenova
committed
Deprecate nil_typet
1 parent 3ced6c7 commit 426debe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/util/std_types.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ class bool_typet:public typet
3232
}
3333
};
3434

35-
/// The NIL type, i.e., an invalid type, no value. Use `optional<typet>`
36-
/// instead where possible.
37-
class nil_typet:public typet
35+
/// The NIL type, i.e., an invalid type, no value.
36+
/// \deprecated Use `optional<typet>` instead.
37+
// NOLINTNEXTLINE
38+
class DEPRECATED("Use `optional<typet>` instead.") nil_typet : public typet
3839
{
3940
public:
4041
nil_typet():typet(static_cast<const typet &>(get_nil_irep()))

0 commit comments

Comments
 (0)