Skip to content

Commit 64558ca

Browse files
Update comments in string_constraint_generator_valueof.cpp
1 parent cae6d27 commit 64558ca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/solvers/refinement/string_constraint_generator_valueof.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ string_exprt string_constraint_generatort::add_axioms_from_bool(
8989
return res;
9090
}
9191

92-
/// add axioms to say the string corresponds to the result of String.valueOf(I)
93-
/// or String.valueOf(J) java functions applied on the integer expression
92+
/// Add axioms enforcing that the string corresponds to the result
93+
/// of String.valueOf(I) or String.valueOf(J) Java functions applied
94+
/// on the integer expression.
9495
/// \param i: a signed integer expression
9596
/// \param max_size: a maximal size for the string representation
9697
/// \param ref_type: type for refined strings
@@ -305,7 +306,7 @@ string_exprt string_constraint_generatort::add_axioms_from_char(
305306
}
306307

307308
/// Add axioms stating that the returned string has length 1 and the character
308-
/// it contains correspond to the input expression.
309+
/// it contains corresponds to the input expression.
309310
/// \param c: one expression of type char
310311
/// \param ref_type: type of refined string expressions
311312
/// \return a new string expression

0 commit comments

Comments
 (0)