|
27 | 27 | /// \param fresh_symbol: generator of fresh symbols
|
28 | 28 | /// \param f: function application with arguments refined_string `s1` and
|
29 | 29 | /// refined_string `s2`
|
30 |
| -/// \param pool: pool of arrays representing strings |
| 30 | +/// \param array_pool: pool of arrays representing strings |
31 | 31 | /// \return Boolean expression `eq`
|
32 | 32 | std::pair<exprt, string_constraintst> add_axioms_for_equals(
|
33 | 33 | symbol_generatort &fresh_symbol,
|
34 | 34 | const function_application_exprt &f,
|
35 |
| - array_poolt &pool) |
| 35 | + array_poolt &array_pool) |
36 | 36 | {
|
37 | 37 | PRECONDITION(f.type() == bool_typet() || f.type().id() == ID_c_bool);
|
38 | 38 | PRECONDITION(f.arguments().size() == 2);
|
39 | 39 |
|
40 | 40 | string_constraintst constraints;
|
41 |
| - array_string_exprt s1 = get_string_expr(pool, f.arguments()[0]); |
42 |
| - array_string_exprt s2 = get_string_expr(pool, f.arguments()[1]); |
| 41 | + array_string_exprt s1 = get_string_expr(array_pool, f.arguments()[0]); |
| 42 | + array_string_exprt s2 = get_string_expr(array_pool, f.arguments()[1]); |
43 | 43 | symbol_exprt eq = fresh_symbol("equal");
|
44 | 44 | typecast_exprt tc_eq(eq, f.type());
|
45 | 45 |
|
@@ -128,19 +128,19 @@ static exprt character_equals_ignore_case(
|
128 | 128 | /// \param fresh_symbol: generator of fresh symbols
|
129 | 129 | /// \param f: function application with arguments refined_string `s1` and
|
130 | 130 | /// refined_string `s2`
|
131 |
| -/// \param pool: pool of arrays representing strings |
| 131 | +/// \param array_pool: pool of arrays representing strings |
132 | 132 | /// \return Boolean expression `eq`
|
133 | 133 | std::pair<exprt, string_constraintst> add_axioms_for_equals_ignore_case(
|
134 | 134 | symbol_generatort &fresh_symbol,
|
135 | 135 | const function_application_exprt &f,
|
136 |
| - array_poolt &pool) |
| 136 | + array_poolt &array_pool) |
137 | 137 | {
|
138 | 138 | PRECONDITION(f.type() == bool_typet() || f.type().id() == ID_c_bool);
|
139 | 139 | PRECONDITION(f.arguments().size() == 2);
|
140 | 140 | string_constraintst constraints;
|
141 | 141 | const symbol_exprt eq = fresh_symbol("equal_ignore_case");
|
142 |
| - const array_string_exprt s1 = get_string_expr(pool, f.arguments()[0]); |
143 |
| - const array_string_exprt s2 = get_string_expr(pool, f.arguments()[1]); |
| 142 | + const array_string_exprt s1 = get_string_expr(array_pool, f.arguments()[0]); |
| 143 | + const array_string_exprt s2 = get_string_expr(array_pool, f.arguments()[1]); |
144 | 144 | const typet char_type = s1.content().type().subtype();
|
145 | 145 | const exprt char_a = from_integer('a', char_type);
|
146 | 146 | const exprt char_A = from_integer('A', char_type);
|
@@ -233,19 +233,19 @@ string_constraint_generatort::add_axioms_for_hash_code(
|
233 | 233 | /// \param fresh_symbol: generator of fresh symbols
|
234 | 234 | /// \param f: function application with arguments refined_string `s1` and
|
235 | 235 | /// refined_string `s2`
|
236 |
| -/// \param pool: pool of arrays representing strings |
| 236 | +/// \param array_pool: pool of arrays representing strings |
237 | 237 | /// \return integer expression `res`
|
238 | 238 | std::pair<exprt, string_constraintst> add_axioms_for_compare_to(
|
239 | 239 | symbol_generatort &fresh_symbol,
|
240 | 240 | const function_application_exprt &f,
|
241 |
| - array_poolt &pool) |
| 241 | + array_poolt &array_pool) |
242 | 242 | {
|
243 | 243 | PRECONDITION(f.arguments().size() == 2);
|
244 | 244 | const typet &return_type = f.type();
|
245 | 245 | PRECONDITION(return_type.id() == ID_signedbv);
|
246 | 246 | string_constraintst constraints;
|
247 |
| - const array_string_exprt &s1 = get_string_expr(pool, f.arguments()[0]); |
248 |
| - const array_string_exprt &s2 = get_string_expr(pool, f.arguments()[1]); |
| 247 | + const array_string_exprt &s1 = get_string_expr(array_pool, f.arguments()[0]); |
| 248 | + const array_string_exprt &s2 = get_string_expr(array_pool, f.arguments()[1]); |
249 | 249 | const symbol_exprt res = fresh_symbol("compare_to", return_type);
|
250 | 250 | const typet &index_type = s1.length().type();
|
251 | 251 |
|
|
0 commit comments