Skip to content

Commit b11a3b2

Browse files
committed
Rename validate_bit_vector_predicate_arguments to validate_bit_vector_operator_arguments.
This allows the name to reflect the more general purpose deployment of this function.
1 parent 10a2a53 commit b11a3b2

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/solvers/smt2_incremental/smt_bit_vector_theory.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <util/invariant.h>
66

7-
static void validate_bit_vector_predicate_arguments(
7+
static void validate_bit_vector_operator_arguments(
88
const smt_termt &left,
99
const smt_termt &right)
1010
{
@@ -37,7 +37,7 @@ void smt_bit_vector_theoryt::unsigned_less_thant::validate(
3737
const smt_termt &lhs,
3838
const smt_termt &rhs)
3939
{
40-
validate_bit_vector_predicate_arguments(lhs, rhs);
40+
validate_bit_vector_operator_arguments(lhs, rhs);
4141
}
4242

4343
const smt_function_application_termt::factoryt<
@@ -60,7 +60,7 @@ void smt_bit_vector_theoryt::unsigned_less_than_or_equalt::validate(
6060
const smt_termt &lhs,
6161
const smt_termt &rhs)
6262
{
63-
validate_bit_vector_predicate_arguments(lhs, rhs);
63+
validate_bit_vector_operator_arguments(lhs, rhs);
6464
}
6565

6666
const smt_function_application_termt::factoryt<
@@ -83,7 +83,7 @@ void smt_bit_vector_theoryt::unsigned_greater_thant::validate(
8383
const smt_termt &lhs,
8484
const smt_termt &rhs)
8585
{
86-
validate_bit_vector_predicate_arguments(lhs, rhs);
86+
validate_bit_vector_operator_arguments(lhs, rhs);
8787
}
8888

8989
const smt_function_application_termt::factoryt<
@@ -107,7 +107,7 @@ void smt_bit_vector_theoryt::unsigned_greater_than_or_equalt::validate(
107107
const smt_termt &lhs,
108108
const smt_termt &rhs)
109109
{
110-
validate_bit_vector_predicate_arguments(lhs, rhs);
110+
validate_bit_vector_operator_arguments(lhs, rhs);
111111
}
112112

113113
const smt_function_application_termt::factoryt<
@@ -130,7 +130,7 @@ void smt_bit_vector_theoryt::signed_less_thant::validate(
130130
const smt_termt &lhs,
131131
const smt_termt &rhs)
132132
{
133-
validate_bit_vector_predicate_arguments(lhs, rhs);
133+
validate_bit_vector_operator_arguments(lhs, rhs);
134134
}
135135

136136
const smt_function_application_termt::factoryt<
@@ -153,7 +153,7 @@ void smt_bit_vector_theoryt::signed_less_than_or_equalt::validate(
153153
const smt_termt &lhs,
154154
const smt_termt &rhs)
155155
{
156-
validate_bit_vector_predicate_arguments(lhs, rhs);
156+
validate_bit_vector_operator_arguments(lhs, rhs);
157157
}
158158

159159
const smt_function_application_termt::factoryt<
@@ -176,7 +176,7 @@ void smt_bit_vector_theoryt::signed_greater_thant::validate(
176176
const smt_termt &lhs,
177177
const smt_termt &rhs)
178178
{
179-
validate_bit_vector_predicate_arguments(lhs, rhs);
179+
validate_bit_vector_operator_arguments(lhs, rhs);
180180
}
181181

182182
const smt_function_application_termt::factoryt<
@@ -199,7 +199,7 @@ void smt_bit_vector_theoryt::signed_greater_than_or_equalt::validate(
199199
const smt_termt &lhs,
200200
const smt_termt &rhs)
201201
{
202-
validate_bit_vector_predicate_arguments(lhs, rhs);
202+
validate_bit_vector_operator_arguments(lhs, rhs);
203203
}
204204

205205
const smt_function_application_termt::factoryt<
@@ -222,7 +222,7 @@ void smt_bit_vector_theoryt::addt::validate(
222222
const smt_termt &lhs,
223223
const smt_termt &rhs)
224224
{
225-
validate_bit_vector_predicate_arguments(lhs, rhs);
225+
validate_bit_vector_operator_arguments(lhs, rhs);
226226
}
227227

228228
const smt_function_application_termt::factoryt<smt_bit_vector_theoryt::addt>
@@ -244,7 +244,7 @@ void smt_bit_vector_theoryt::subtractt::validate(
244244
const smt_termt &lhs,
245245
const smt_termt &rhs)
246246
{
247-
validate_bit_vector_predicate_arguments(lhs, rhs);
247+
validate_bit_vector_operator_arguments(lhs, rhs);
248248
}
249249

250250
const smt_function_application_termt::factoryt<
@@ -267,7 +267,7 @@ void smt_bit_vector_theoryt::multiplyt::validate(
267267
const smt_termt &lhs,
268268
const smt_termt &rhs)
269269
{
270-
validate_bit_vector_predicate_arguments(lhs, rhs);
270+
validate_bit_vector_operator_arguments(lhs, rhs);
271271
}
272272

273273
const smt_function_application_termt::factoryt<
@@ -290,7 +290,7 @@ void smt_bit_vector_theoryt::unsigned_dividet::validate(
290290
const smt_termt &lhs,
291291
const smt_termt &rhs)
292292
{
293-
validate_bit_vector_predicate_arguments(lhs, rhs);
293+
validate_bit_vector_operator_arguments(lhs, rhs);
294294
}
295295

296296
const smt_function_application_termt::factoryt<
@@ -313,7 +313,7 @@ void smt_bit_vector_theoryt::signed_dividet::validate(
313313
const smt_termt &lhs,
314314
const smt_termt &rhs)
315315
{
316-
validate_bit_vector_predicate_arguments(lhs, rhs);
316+
validate_bit_vector_operator_arguments(lhs, rhs);
317317
}
318318

319319
const smt_function_application_termt::factoryt<
@@ -336,7 +336,7 @@ void smt_bit_vector_theoryt::unsigned_remaindert::validate(
336336
const smt_termt &lhs,
337337
const smt_termt &rhs)
338338
{
339-
validate_bit_vector_predicate_arguments(lhs, rhs);
339+
validate_bit_vector_operator_arguments(lhs, rhs);
340340
}
341341

342342
const smt_function_application_termt::factoryt<
@@ -359,7 +359,7 @@ void smt_bit_vector_theoryt::signed_remaindert::validate(
359359
const smt_termt &lhs,
360360
const smt_termt &rhs)
361361
{
362-
validate_bit_vector_predicate_arguments(lhs, rhs);
362+
validate_bit_vector_operator_arguments(lhs, rhs);
363363
}
364364

365365
const smt_function_application_termt::factoryt<

0 commit comments

Comments
 (0)