@@ -171,7 +171,7 @@ string_refinementt::string_refinementt(const infot &info, bool):
171
171
string_refinementt::string_refinementt (const infot &info):
172
172
string_refinementt(info, validate(info)) { }
173
173
174
- // / display the current index set, for debugging
174
+ // / Write index set to the given stream, use for debugging
175
175
static void display_index_set (
176
176
messaget::mstreamt &stream,
177
177
const namespacet &ns,
@@ -669,6 +669,7 @@ union_find_replacet string_identifiers_resolution_from_equations(
669
669
return result;
670
670
}
671
671
672
+ // / Output a vector of equations to the given stream, used for debugging.
672
673
void output_equations (
673
674
std::ostream &output,
674
675
const std::vector<equal_exprt> &equations,
@@ -1021,8 +1022,12 @@ void string_refinementt::add_lemma(
1021
1022
1022
1023
// / Get a model of an array and put it in a certain form.
1023
1024
// / If the model is incomplete or if it is too big, return no value.
1024
- // / \par parameters: an expression representing an array and an expression
1025
- // / representing an integer
1025
+ // / \param super_get: function returning the valuation of an expression
1026
+ // / in a model
1027
+ // / \param ns: namespace
1028
+ // / \param max_string_length: maximum length of strings to analyze
1029
+ // / \param stream: output stream for warning messages
1030
+ // / \param arr: expression of type array representing a string
1026
1031
// / \return an optional array expression or array_of_exprt
1027
1032
static optionalt<exprt> get_array (
1028
1033
const std::function<exprt(const exprt &)> &super_get,
@@ -1104,7 +1109,7 @@ static optionalt<exprt> get_array(
1104
1109
1105
1110
// / convert the content of a string to a more readable representation. This
1106
1111
// / should only be used for debugging.
1107
- // / \par parameters : a constant array expression and a integer expression
1112
+ // / \param arr : a constant array expression
1108
1113
// / \return a string
1109
1114
static std::string string_of_array (const array_exprt &arr)
1110
1115
{
0 commit comments