Skip to content

Commit 13360bf

Browse files
author
svorenova
authored
Merge pull request #2821 from svorenova/deprecate_nil_typet
Deprecate nil_typet [DOC-12]
2 parents 5f4f3d4 + 0374018 commit 13360bf

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)