@@ -80,7 +80,7 @@ class ternary_exprt : public exprt
8080 const typet &_type)
8181 : exprt(_id, _type)
8282 {
83- copy_to_operands (_op0, _op1, _op2);
83+ add_to_operands (_op0, _op1, _op2);
8484 }
8585
8686 const exprt &op3 () const = delete;
@@ -347,7 +347,7 @@ class unary_exprt:public exprt
347347 const exprt &_op):
348348 exprt (_id, _op.type())
349349 {
350- copy_to_operands (_op);
350+ add_to_operands (_op);
351351 }
352352
353353 unary_exprt (
@@ -363,7 +363,7 @@ class unary_exprt:public exprt
363363 const typet &_type):
364364 exprt (_id, _type)
365365 {
366- copy_to_operands (_op);
366+ add_to_operands (_op);
367367 }
368368
369369 const exprt &op () const
@@ -644,15 +644,15 @@ class predicate_exprt:public exprt
644644 const irep_idt &_id,
645645 const exprt &_op):exprt(_id, bool_typet())
646646 {
647- copy_to_operands (_op);
647+ add_to_operands (_op);
648648 }
649649
650650 predicate_exprt (
651651 const irep_idt &_id,
652652 const exprt &_op0,
653653 const exprt &_op1):exprt(_id, bool_typet())
654654 {
655- copy_to_operands (_op0, _op1);
655+ add_to_operands (_op0, _op1);
656656 }
657657};
658658
@@ -758,7 +758,7 @@ class binary_exprt:public exprt
758758 const exprt &_rhs):
759759 exprt (_id, _lhs.type())
760760 {
761- copy_to_operands (_lhs, _rhs);
761+ add_to_operands (_lhs, _rhs);
762762 }
763763
764764 binary_exprt (
@@ -768,7 +768,7 @@ class binary_exprt:public exprt
768768 const typet &_type):
769769 exprt (_id, _type)
770770 {
771- copy_to_operands (_lhs, _rhs);
771+ add_to_operands (_lhs, _rhs);
772772 }
773773
774774 const exprt &op2 () const = delete;
@@ -926,7 +926,7 @@ class multi_ary_exprt:public exprt
926926 const exprt &_rhs):
927927 exprt (_id, _lhs.type())
928928 {
929- copy_to_operands (_lhs, _rhs);
929+ add_to_operands (_lhs, _rhs);
930930 }
931931
932932 multi_ary_exprt (
@@ -936,7 +936,7 @@ class multi_ary_exprt:public exprt
936936 const typet &_type):
937937 exprt (_id, _type)
938938 {
939- copy_to_operands (_lhs, _rhs);
939+ add_to_operands (_lhs, _rhs);
940940 }
941941};
942942
@@ -2326,7 +2326,7 @@ class and_exprt:public multi_ary_exprt
23262326 and_exprt (const exprt &op0, const exprt &op1, const exprt &op2):
23272327 multi_ary_exprt (ID_and, bool_typet())
23282328 {
2329- copy_to_operands (op0, op1, op2);
2329+ add_to_operands (op0, op1, op2);
23302330 }
23312331
23322332 and_exprt (
@@ -2448,7 +2448,7 @@ class or_exprt:public multi_ary_exprt
24482448 or_exprt (const exprt &op0, const exprt &op1, const exprt &op2):
24492449 multi_ary_exprt (ID_or, bool_typet())
24502450 {
2451- copy_to_operands (op0, op1, op2);
2451+ add_to_operands (op0, op1, op2);
24522452 }
24532453
24542454 or_exprt (
@@ -2615,7 +2615,7 @@ class bitor_exprt:public multi_ary_exprt
26152615 bitor_exprt (const exprt &_op0, const exprt &_op1):
26162616 multi_ary_exprt (ID_bitor, _op0.type())
26172617 {
2618- copy_to_operands (_op0, _op1);
2618+ add_to_operands (_op0, _op1);
26192619 }
26202620};
26212621
@@ -2724,7 +2724,7 @@ class bitand_exprt:public multi_ary_exprt
27242724 bitand_exprt (const exprt &_op0, const exprt &_op1):
27252725 multi_ary_exprt (ID_bitand, _op0.type())
27262726 {
2727- copy_to_operands (_op0, _op1);
2727+ add_to_operands (_op0, _op1);
27282728 }
27292729};
27302730
@@ -3073,7 +3073,7 @@ class extractbits_exprt:public exprt
30733073 const exprt &_lower,
30743074 const typet &_type):exprt(ID_extractbits, _type)
30753075 {
3076- copy_to_operands (_src, _upper, _lower);
3076+ add_to_operands (_src, _upper, _lower);
30773077 }
30783078
30793079 extractbits_exprt (
@@ -3417,7 +3417,7 @@ class with_exprt:public exprt
34173417 const exprt &_new_value):
34183418 exprt (ID_with, _old.type())
34193419 {
3420- copy_to_operands (_old, _where, _new_value);
3420+ add_to_operands (_old, _where, _new_value);
34213421 }
34223422
34233423 DEPRECATED (" use with_exprt(old, where, new_value) instead" )
@@ -3501,7 +3501,7 @@ class index_designatort:public exprt
35013501 explicit index_designatort (const exprt &_index):
35023502 exprt(ID_index_designator)
35033503 {
3504- copy_to_operands (_index);
3504+ add_to_operands (_index);
35053505 }
35063506
35073507 const exprt &index () const
@@ -3707,7 +3707,7 @@ class array_update_exprt:public exprt
37073707 const exprt &_new_value):
37083708 exprt(ID_array_update, _array.type())
37093709 {
3710- copy_to_operands (_array, _index, _new_value);
3710+ add_to_operands (_array, _index, _new_value);
37113711 }
37123712
37133713 array_update_exprt():exprt(ID_array_update)
@@ -4184,7 +4184,7 @@ class ieee_float_op_exprt:public exprt
41844184 const exprt &_rm):
41854185 exprt (_id)
41864186 {
4187- copy_to_operands (_lhs, _rhs, _rm);
4187+ add_to_operands (_lhs, _rhs, _rm);
41884188 }
41894189
41904190 exprt &lhs ()
@@ -4464,7 +4464,7 @@ class concatenation_exprt:public exprt
44644464 const exprt &_op0, const exprt &_op1, const typet &_type):
44654465 exprt(ID_concatenation, _type)
44664466 {
4467- copy_to_operands (_op0, _op1);
4467+ add_to_operands (_op0, _op1);
44684468 }
44694469};
44704470
0 commit comments