File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -105,15 +105,6 @@ bool exprt::is_false() const
105
105
get (ID_value)==ID_false;
106
106
}
107
107
108
- // / Replace the expression by a Boolean expression representing \p value.
109
- // / \param value: the Boolean value to give to the expression
110
- // / \deprecated use constructors instead
111
- void exprt::make_bool (bool value)
112
- {
113
- *this =exprt (ID_constant, typet (ID_bool));
114
- set (ID_value, value?ID_true:ID_false);
115
- }
116
-
117
108
// / Return whether the expression represents a Boolean.
118
109
// / \return True if is a Boolean, false otherwise.
119
110
bool exprt::is_boolean () const
Original file line number Diff line number Diff line change @@ -239,9 +239,6 @@ class exprt:public irept
239
239
op.push_back (std::move (e3 ));
240
240
}
241
241
242
- DEPRECATED (SINCE(2019 , 5 , 28 , " use make_boolean_expr(value) instead" ))
243
- void make_bool(bool value);
244
-
245
242
bool is_constant () const ;
246
243
bool is_true () const ;
247
244
bool is_false () const ;
@@ -379,7 +376,6 @@ class expr_protectedt : public exprt
379
376
380
377
// protect these low-level methods
381
378
using exprt::add;
382
- using exprt::make_bool;
383
379
using exprt::op0;
384
380
using exprt::op1;
385
381
using exprt::op2;
You can’t perform that action at this time.
0 commit comments