@@ -416,13 +416,13 @@ bool constant_propagator_domaint::ai_simplify(
416
416
return partial_evaluate (values, condition, ns);
417
417
}
418
418
419
- class constant_propagator_is_constantt : public is_constantt
419
+ class constant_propagator_can_forward_propagatet : public can_forward_propagatet
420
420
{
421
421
public:
422
- constant_propagator_is_constantt (
422
+ constant_propagator_can_forward_propagatet (
423
423
const replace_symbolt &replace_const,
424
424
const namespacet &ns)
425
- : is_constantt (ns), replace_const(replace_const)
425
+ : can_forward_propagatet (ns), replace_const(replace_const)
426
426
{
427
427
}
428
428
@@ -437,7 +437,7 @@ class constant_propagator_is_constantt : public is_constantt
437
437
if (expr.id () == ID_symbol)
438
438
return is_constant (to_symbol_expr (expr).get_identifier ());
439
439
440
- return is_constantt ::is_constant (expr);
440
+ return can_forward_propagatet ::is_constant (expr);
441
441
}
442
442
443
443
const replace_symbolt &replace_const;
@@ -447,14 +447,15 @@ bool constant_propagator_domaint::valuest::is_constant(
447
447
const exprt &expr,
448
448
const namespacet &ns) const
449
449
{
450
- return constant_propagator_is_constantt (replace_const, ns)(expr);
450
+ return constant_propagator_can_forward_propagatet (replace_const, ns)(expr);
451
451
}
452
452
453
453
bool constant_propagator_domaint::valuest::is_constant (
454
454
const irep_idt &id,
455
455
const namespacet &ns) const
456
456
{
457
- return constant_propagator_is_constantt (replace_const, ns).is_constant (id);
457
+ return constant_propagator_can_forward_propagatet (replace_const, ns)
458
+ .is_constant (id);
458
459
}
459
460
460
461
// / Do not call this when iterating over replace_const.expr_map!
0 commit comments