@@ -66,7 +66,7 @@ abstract_environmentt::eval(const exprt &expr, const namespacet &ns) const
66
66
67
67
// No special handling required by the abstract environment
68
68
// delegate to the abstract object
69
- if (simplified_expr.operands ().size () > 0 )
69
+ if (! simplified_expr.operands ().empty () )
70
70
{
71
71
return eval_expression (simplified_expr, ns);
72
72
}
@@ -146,7 +146,7 @@ bool abstract_environmentt::assign(
146
146
// to be none of that.
147
147
if (s.id () != ID_symbol)
148
148
{
149
- throw " invalid l-value" ;
149
+ throw std::runtime_error ( " invalid l-value" ) ;
150
150
}
151
151
// We can assign the AO directly to the symbol
152
152
final_value = value;
@@ -252,11 +252,11 @@ abstract_object_pointert abstract_environmentt::abstract_object_factory(
252
252
const typet &type,
253
253
const namespacet &ns,
254
254
bool top,
255
- bool bottom ) const
255
+ bool bttm ) const
256
256
{
257
257
exprt empty_constant_expr = nil_exprt ();
258
258
return abstract_object_factory (
259
- type, top, bottom , empty_constant_expr, *this , ns);
259
+ type, top, bttm , empty_constant_expr, *this , ns);
260
260
}
261
261
262
262
abstract_object_pointert abstract_environmentt::abstract_object_factory (
@@ -270,13 +270,13 @@ abstract_object_pointert abstract_environmentt::abstract_object_factory(
270
270
abstract_object_pointert abstract_environmentt::abstract_object_factory (
271
271
const typet &type,
272
272
bool top,
273
- bool bottom ,
273
+ bool bttm ,
274
274
const exprt &e,
275
275
const abstract_environmentt &environment,
276
276
const namespacet &ns) const
277
277
{
278
278
return object_factory->get_abstract_object (
279
- type, top, bottom , e, environment, ns);
279
+ type, top, bttm , e, environment, ns);
280
280
}
281
281
282
282
abstract_object_pointert abstract_environmentt::add_object_context (
0 commit comments