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
105105 get (ID_value)==ID_false;
106106}
107107
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-
117108// / Return whether the expression represents a Boolean.
118109// / \return True if is a Boolean, false otherwise.
119110bool exprt::is_boolean () const
Original file line number Diff line number Diff line change @@ -239,9 +239,6 @@ class exprt:public irept
239239 op.push_back (std::move (e3 ));
240240 }
241241
242- DEPRECATED (SINCE(2019 , 5 , 28 , " use make_boolean_expr(value) instead" ))
243- void make_bool(bool value);
244-
245242 bool is_constant () const ;
246243 bool is_true () const ;
247244 bool is_false () const ;
@@ -379,7 +376,6 @@ class expr_protectedt : public exprt
379376
380377 // protect these low-level methods
381378 using exprt::add;
382- using exprt::make_bool;
383379 using exprt::op0;
384380 using exprt::op1;
385381 using exprt::op2;
You can’t perform that action at this time.
0 commit comments