Skip to content

Commit ba40a39

Browse files
author
Daniel Kroening
committed
deprecate exprt::make_bool
This method isn't type safe, and make_boolean_expr(value) is an easy-to-use replacement.
1 parent 0bdf097 commit ba40a39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/expr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ class exprt:public irept
236236
DEPRECATED(SINCE(2019, 1, 19, "use typecast_exprt() instead"))
237237
void make_typecast(const typet &_type);
238238

239+
DEPRECATED(SINCE(2019, 5, 28, "use make_boolean_expr(value) instead"))
239240
void make_bool(bool value);
240241

241242
bool is_constant() const;

0 commit comments

Comments
 (0)