@@ -231,8 +231,7 @@ bool string_refinementt::add_axioms_for_string_assigns(
231
231
}
232
232
else
233
233
{
234
- debug () << " string_refinement warning: not handling char_array: "
235
- << from_expr (ns, " " , rhs) << eom;
234
+ warning () << " ignoring char array " << from_expr (ns, " " , rhs) << eom;
236
235
return true ;
237
236
}
238
237
}
@@ -375,8 +374,8 @@ void string_refinementt::set_to(const exprt &expr, bool value)
375
374
376
375
if (eq_expr.lhs ().type ()!=eq_expr.rhs ().type ())
377
376
{
378
- debug () << " (sr::set_to) WARNING: ignoring "
379
- << from_expr (ns, " " , expr) << " [inconsistent types]" << eom;
377
+ warning () << " ignoring " << from_expr (ns, " " , expr)
378
+ << " [inconsistent types]" << eom;
380
379
debug () << " lhs has type: " << eq_expr.lhs ().type ().pretty (12 ) << eom;
381
380
debug () << " rhs has type: " << eq_expr.rhs ().type ().pretty (12 ) << eom;
382
381
return ;
@@ -397,8 +396,7 @@ void string_refinementt::set_to(const exprt &expr, bool value)
397
396
// TODO: See if this happens at all.
398
397
if (lhs.id ()!=ID_symbol)
399
398
{
400
- debug () << " (sr::set_to) WARNING: ignoring "
401
- << from_expr (ns, " " , expr) << eom;
399
+ warning () << " ignoring " << from_expr (ns, " " , expr) << eom;
402
400
return ;
403
401
}
404
402
@@ -409,9 +407,8 @@ void string_refinementt::set_to(const exprt &expr, bool value)
409
407
subst_rhs.type ().id () != ID_array ||
410
408
eq_expr.lhs ().type ().subtype () != subst_rhs.type ().subtype ())
411
409
{
412
- debug () << " (sr::set_to) WARNING: ignoring "
413
- << from_expr (ns, " " , expr) << " [inconsistent types after substitution]"
414
- << eom;
410
+ warning () << " ignoring " << from_expr (ns, " " , expr)
411
+ << " [inconsistent types after substitution]" << eom;
415
412
return ;
416
413
}
417
414
else
0 commit comments