Skip to content

Commit bdbb900

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 46dcb48 commit bdbb900

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/solvers/smt2_incremental/smt_bit_vector_theory.cpp

Lines changed: 9 additions & 9 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
{
@@ -23,7 +23,7 @@ static void validate_bit_vector_predicate_arguments(
2323
void smt_bit_vector_theoryt::the_name##t::validate( \
2424
const smt_termt &left, const smt_termt &right) \
2525
{ \
26-
validate_bit_vector_predicate_arguments(left, right); \
26+
validate_bit_vector_operator_arguments(left, right); \
2727
} \
2828
\
2929
smt_sortt smt_bit_vector_theoryt::the_name##t::return_sort( \
@@ -59,7 +59,7 @@ void smt_bit_vector_theoryt::addt::validate(
5959
const smt_termt &lhs,
6060
const smt_termt &rhs)
6161
{
62-
validate_bit_vector_predicate_arguments(lhs, rhs);
62+
validate_bit_vector_operator_arguments(lhs, rhs);
6363
}
6464

6565
const smt_function_application_termt::factoryt<smt_bit_vector_theoryt::addt>
@@ -81,7 +81,7 @@ void smt_bit_vector_theoryt::subtractt::validate(
8181
const smt_termt &lhs,
8282
const smt_termt &rhs)
8383
{
84-
validate_bit_vector_predicate_arguments(lhs, rhs);
84+
validate_bit_vector_operator_arguments(lhs, rhs);
8585
}
8686

8787
const smt_function_application_termt::factoryt<
@@ -104,7 +104,7 @@ void smt_bit_vector_theoryt::multiplyt::validate(
104104
const smt_termt &lhs,
105105
const smt_termt &rhs)
106106
{
107-
validate_bit_vector_predicate_arguments(lhs, rhs);
107+
validate_bit_vector_operator_arguments(lhs, rhs);
108108
}
109109

110110
const smt_function_application_termt::factoryt<
@@ -127,7 +127,7 @@ void smt_bit_vector_theoryt::unsigned_dividet::validate(
127127
const smt_termt &lhs,
128128
const smt_termt &rhs)
129129
{
130-
validate_bit_vector_predicate_arguments(lhs, rhs);
130+
validate_bit_vector_operator_arguments(lhs, rhs);
131131
}
132132

133133
const smt_function_application_termt::factoryt<
@@ -150,7 +150,7 @@ void smt_bit_vector_theoryt::signed_dividet::validate(
150150
const smt_termt &lhs,
151151
const smt_termt &rhs)
152152
{
153-
validate_bit_vector_predicate_arguments(lhs, rhs);
153+
validate_bit_vector_operator_arguments(lhs, rhs);
154154
}
155155

156156
const smt_function_application_termt::factoryt<
@@ -173,7 +173,7 @@ void smt_bit_vector_theoryt::unsigned_remaindert::validate(
173173
const smt_termt &lhs,
174174
const smt_termt &rhs)
175175
{
176-
validate_bit_vector_predicate_arguments(lhs, rhs);
176+
validate_bit_vector_operator_arguments(lhs, rhs);
177177
}
178178

179179
const smt_function_application_termt::factoryt<
@@ -196,7 +196,7 @@ void smt_bit_vector_theoryt::signed_remaindert::validate(
196196
const smt_termt &lhs,
197197
const smt_termt &rhs)
198198
{
199-
validate_bit_vector_predicate_arguments(lhs, rhs);
199+
validate_bit_vector_operator_arguments(lhs, rhs);
200200
}
201201

202202
const smt_function_application_termt::factoryt<

0 commit comments

Comments
 (0)