Skip to content

Commit 4fc3007

Browse files
committed
Remove anything that causes doxygen problems
1 parent 239b07d commit 4fc3007

13 files changed

+58
-182
lines changed

src/solvers/README.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -419,92 +419,92 @@ This is described in more detail \link string_builtin_functiont here. \endlink
419419
* `cprover_string_associate_length_to_array` : Link the length of the array
420420
with the given integer value.
421421
* `cprover_string_char_at` :
422-
\copybrief add_axioms_for_char_at(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
423-
\link add_axioms_for_char_at More... \endlink
422+
\copybrief string_constraint_generatort::add_axioms_for_char_at(const function_application_exprt &f)
423+
\link string_constraint_generatort::add_axioms_for_char_at More... \endlink
424424
* `cprover_string_length` :
425-
\copybrief add_axioms_for_length(const function_application_exprt &f, array_poolt &array_pool)
426-
\link add_axioms_for_length More... \endlink
425+
\copybrief string_constraint_generatort::add_axioms_for_length(const function_application_exprt &f)
426+
\link string_constraint_generatort::add_axioms_for_length More... \endlink
427427

428428
\subsection comparisons Comparisons:
429429

430430
* `cprover_string_compare_to` :
431-
\copybrief add_axioms_for_compare_to(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool)
432-
\link add_axioms_for_compare_to(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool) More... \endlink
431+
\copybrief string_constraint_generatort::add_axioms_for_compare_to(const function_application_exprt &f)
432+
\link string_constraint_generatort::add_axioms_for_compare_to(const function_application_exprt &f) More... \endlink
433433
* `cprover_string_contains` :
434-
\copybrief add_axioms_for_contains(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool)
435-
\link add_axioms_for_contains(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool) More... \endlink
434+
\copybrief string_constraint_generatort::add_axioms_for_contains(const function_application_exprt &f)
435+
\link string_constraint_generatort::add_axioms_for_contains(const function_application_exprt &f) More... \endlink
436436
* `cprover_string_equals` :
437-
\copybrief add_axioms_for_equals(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool)
438-
\link add_axioms_for_equals(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool) More... \endlink
437+
\copybrief string_constraint_generatort::add_axioms_for_equals(const function_application_exprt &f)
438+
\link string_constraint_generatort::add_axioms_for_equals(const function_application_exprt &f) More... \endlink
439439
* `cprover_string_equals_ignore_case` :
440-
\copybrief add_axioms_for_equals_ignore_case(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool)
441-
\link add_axioms_for_equals_ignore_case(symbol_generatort &fresh_symbol,const function_application_exprt &f, array_poolt &array_pool) More... \endlink
440+
\copybrief string_constraint_generatort::add_axioms_for_equals_ignore_case(const function_application_exprt &f)
441+
\link string_constraint_generatort::add_axioms_for_equals_ignore_case(const function_application_exprt &f) More... \endlink
442442
* `cprover_string_is_prefix` :
443-
\copybrief add_axioms_for_is_prefix
444-
\link add_axioms_for_is_prefix More... \endlink
443+
\copybrief string_constraint_generatort::add_axioms_for_is_prefix
444+
\link string_constraint_generatort::add_axioms_for_is_prefix More... \endlink
445445
* `cprover_string_index_of` :
446-
\copybrief add_axioms_for_index_of(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
447-
\link add_axioms_for_index_of(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
446+
\copybrief string_constraint_generatort::add_axioms_for_index_of(const function_application_exprt &f=)
447+
\link string_constraint_generatort::add_axioms_for_index_of(const function_application_exprt &f) More... \endlink
448448
* `cprover_string_last_index_of` :
449-
\copybrief add_axioms_for_last_index_of(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
450-
\link add_axioms_for_last_index_of(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
449+
\copybrief string_constraint_generatort::add_axioms_for_last_index_of(const function_application_exprt &f)
450+
\link string_constraint_generatort::add_axioms_for_last_index_of(const function_application_exprt &f) More... \endlink
451451

452452
\subsection transformations Transformations:
453453

454454
* `cprover_string_char_set` :
455455
\copybrief string_set_char_builtin_functiont::constraints
456456
\link string_set_char_builtin_functiont::constraints More... \endlink
457457
* `cprover_string_concat` :
458-
\copybrief add_axioms_for_concat
459-
\link add_axioms_for_concat More... \endlink
458+
\copybrief string_constraint_generatort::add_axioms_for_concat
459+
\link string_constraint_generatort::add_axioms_for_concat More... \endlink
460460
* `cprover_string_delete` :
461-
\copybrief add_axioms_for_delete(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
462-
\link add_axioms_for_delete(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
461+
\copybrief string_constraint_generatort::add_axioms_for_delete(const function_application_exprt &f)
462+
\link string_constraint_generatort::add_axioms_for_delete(const function_application_exprt &f) More... \endlink
463463
* `cprover_string_insert` :
464-
\copybrief add_axioms_for_insert(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
465-
\link add_axioms_for_insert(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
464+
\copybrief string_constraint_generatort::add_axioms_for_insert(const function_application_exprt &f)
465+
\link string_constraint_generatort::add_axioms_for_insert(const function_application_exprt &f) More... \endlink
466466
* `cprover_string_replace` :
467-
\copybrief add_axioms_for_replace(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
468-
\link add_axioms_for_replace(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
467+
\copybrief string_constraint_generatort::add_axioms_for_replace(const function_application_exprt &f)
468+
\link string_constraint_generatort::add_axioms_for_replace(const function_application_exprt &f) More... \endlink
469469
* `cprover_string_set_length` :
470-
\copybrief add_axioms_for_set_length(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
471-
\link add_axioms_for_set_length(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
470+
\copybrief string_constraint_generatort::add_axioms_for_set_length(const function_application_exprt &f)
471+
\link string_constraint_generatort::add_axioms_for_set_length(const function_application_exprt &f) More... \endlink
472472
* `cprover_string_substring` :
473-
\copybrief add_axioms_for_substring(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
474-
\link add_axioms_for_substring(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
473+
\copybrief string_constraint_generatort::add_axioms_for_substring(const function_application_exprt &f)
474+
\link string_constraint_generatort::add_axioms_for_substring(const function_application_exprt &f) More... \endlink
475475
* `cprover_string_to_lower_case` :
476476
\copybrief string_to_lower_case_builtin_functiont::constraints
477477
\link string_to_lower_case_builtin_functiont::constraints More... \endlink
478478
* `cprover_string_to_upper_case` :
479479
\copybrief string_to_upper_case_builtin_functiont::constraints
480480
\link string_to_upper_case_builtin_functiont::constraints More... \endlink
481481
* `cprover_string_trim` :
482-
\copybrief add_axioms_for_trim(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
483-
\link add_axioms_for_trim(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
482+
\copybrief string_constraint_generatort::add_axioms_for_trim(const function_application_exprt &f)
483+
\link string_constraint_generatort::add_axioms_for_trim(const function_application_exprt &f) More... \endlink
484484

485485
\subsection conversions Conversions:
486486

487487
* `cprover_string_format` :
488488
\copybrief add_axioms_for_format
489489
\link add_axioms_for_format More... \endlink
490490
* `cprover_string_from_literal` :
491-
\copybrief add_axioms_from_literal(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool)
492-
\link add_axioms_from_literal(symbol_generatort &fresh_symbol, const function_application_exprt &f, array_poolt &array_pool) More... \endlink
491+
\copybrief string_constraint_generatort::add_axioms_from_literal(const function_application_exprt &f)
492+
\link string_constraint_generatort::add_axioms_from_literal(const function_application_exprt &f) More... \endlink
493493
* `cprover_string_of_int` :
494-
\copybrief add_axioms_for_string_of_int
495-
\link add_axioms_for_string_of_int More... \endlink
494+
\copybrief string_constraint_generatort::add_axioms_for_string_of_int
495+
\link string_constraint_generatort::add_axioms_for_string_of_int More... \endlink
496496
* `cprover_string_of_float` :
497-
\copybrief add_axioms_for_string_of_float
498-
\link add_axioms_for_string_of_float More... \endlink
497+
\copybrief string_constraint_generatort::add_axioms_for_string_of_float
498+
\link string_constraint_generatort::add_axioms_for_string_of_float More... \endlink
499499
* `cprover_string_of_float_scientific_notation` :
500-
\copybrief add_axioms_from_float_scientific_notation
501-
\link add_axioms_from_float_scientific_notation More... \endlink
500+
\copybrief string_constraint_generatort::add_axioms_from_float_scientific_notation
501+
\link string_constraint_generatort::add_axioms_from_float_scientific_notation More... \endlink
502502
* `cprover_string_of_char` :
503-
\copybrief add_axioms_from_char(const function_application_exprt &f, array_poolt &array_pool)
504-
\link add_axioms_from_char(const function_application_exprt &f, array_poolt &array_pool) More... \endlink
503+
\copybrief string_constraint_generatort::add_axioms_from_char(const function_application_exprt &f)
504+
\link string_constraint_generatort::add_axioms_from_char(const function_application_exprt &f) More... \endlink
505505
* `cprover_string_parse_int` :
506-
\copybrief add_axioms_for_parse_int
507-
\link add_axioms_for_parse_int More... \endlink
506+
\copybrief string_constraint_generatort::add_axioms_for_parse_int
507+
\link string_constraint_generatort::add_axioms_for_parse_int More... \endlink
508508

509509
\subsection solvers-deprecated Deprecated primitives:
510510

src/solvers/strings/string_concatenation_builtin_function.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ string_concatenation_builtin_functiont::string_concatenation_builtin_functiont(
4343
/// 2. \f$\forall i<|s_1|. res[i]=s_1[i] \f$
4444
/// 3. \f$\forall i< |res| - |s_1|.\ res[i+|s_1|] = s_2[start\_index'+i]\f$
4545
///
46-
/// \param fresh_symbol: generator of fresh symbols
4746
/// \param res: an array of characters expression
4847
/// \param s1: an array of characters expression
4948
/// \param s2: an array of characters expression
5049
/// \param start_index: integer expression
5150
/// \param end_index: integer expression
52-
/// \param array_pool: pool of arrays representing strings
5351
/// \return integer expression `0`
5452
std::pair<exprt, string_constraintst>
5553
string_constraint_generatort::add_axioms_for_concat_substr(
@@ -152,11 +150,9 @@ exprt length_constraint_for_concat_char(
152150
/// `s2`.
153151
///
154152
/// \deprecated should use concat_substr instead
155-
/// \param fresh_symbol: generator of fresh symbols
156153
/// \param res: string_expression corresponding to the result
157154
/// \param s1: the string expression to append to
158155
/// \param s2: the string expression to append to the first one
159-
/// \param array_pool: pool of arrays representing strings
160156
/// \return an integer expression
161157
std::pair<exprt, string_constraintst>
162158
string_constraint_generatort::add_axioms_for_concat(
@@ -175,9 +171,7 @@ string_constraint_generatort::add_axioms_for_concat(
175171

176172
/// Add axioms corresponding to the StringBuilder.appendCodePoint(I) function
177173
/// \deprecated java specific
178-
/// \param fresh_symbol: generator of fresh symbols
179174
/// \param f: function application with two arguments: a string and a code point
180-
/// \param array_pool: pool of arrays representing strings
181175
/// \return an expression
182176
std::pair<exprt, string_constraintst>
183177
string_constraint_generatort::add_axioms_for_concat_code_point(

src/solvers/strings/string_constraint_generator_code_points.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Author: Romain Brenguier, [email protected]
1616
/// code point to a utf-16 string
1717
/// \param res: array of characters corresponding to the result fo the function
1818
/// \param code_point: an expression representing a java code point
19-
/// \param array_pool: pool of arrays representing strings
2019
/// \return integer expression equal to zero
2120
std::pair<exprt, string_constraintst>
2221
string_constraint_generatort::add_axioms_for_code_point(
@@ -116,10 +115,8 @@ exprt pair_value(exprt char1, exprt char2, typet return_type)
116115
}
117116

118117
/// add axioms corresponding to the String.codePointAt java function
119-
/// \param fresh_symbol: generator of fresh symbols
120118
/// \param f: function application with arguments a string and an
121119
/// index
122-
/// \param array_pool: pool of arrays representing strings
123120
/// \return a integer expression corresponding to a code point
124121
std::pair<exprt, string_constraintst>
125122
string_constraint_generatort::add_axioms_for_code_point_at(
@@ -185,10 +182,8 @@ string_constraint_generatort::add_axioms_for_code_point_before(
185182

186183
/// add axioms giving approximate bounds on the result of the
187184
/// String.codePointCount java function
188-
/// \param fresh_symbol: generator of fresh symbols
189185
/// \param f: function application with three arguments string `str`, integer
190186
/// `begin` and integer `end`.
191-
/// \param array_pool: pool of arrays representing strings
192187
/// \return an integer expression
193188
std::pair<exprt, string_constraintst>
194189
string_constraint_generatort::add_axioms_for_code_point_count(
@@ -213,7 +208,6 @@ string_constraint_generatort::add_axioms_for_code_point_count(
213208
/// add axioms giving approximate bounds on the result of the
214209
/// String.offsetByCodePointCount java function. We approximate the result by
215210
/// saying the result is between index + offset and index + 2 * offset
216-
/// \param fresh_symbol: generator of fresh symbols
217211
/// \param f: function application with arguments string `str`, integer `index`
218212
/// and integer `offset`.
219213
/// \return a new string expression

src/solvers/strings/string_constraint_generator_comparison.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ Author: Romain Brenguier, [email protected]
2424
/// 2. \f$ \forall i<|s_1|.\ eq \Rightarrow s_1[i]=s_2[i] \f$
2525
/// 3. \f$ \lnot eq \Rightarrow (|s_1| \ne |s_2| \land witness=-1)
2626
/// \lor (0 \le witness<|s_1| \land s_1[witness] \ne s_2[witness]) \f$
27-
/// \param fresh_symbol: generator of fresh symbols
2827
/// \param f: function application with arguments refined_string `s1` and
2928
/// refined_string `s2`
30-
/// \param array_pool: pool of arrays representing strings
3129
/// \return Boolean expression `eq`
3230
std::pair<exprt, string_constraintst>
3331
string_constraint_generatort::add_axioms_for_equals(
@@ -130,10 +128,8 @@ static exprt character_equals_ignore_case(
130128
/// \ eq \Rightarrow {\tt equal\_ignore\_case}(s_1[i],s_2[i]) \f$
131129
/// 3. \f$ \lnot eq \Rightarrow |s_1| \ne |s_2| \lor (0 \le witness<|s_1|
132130
/// \land\lnot {\tt equal\_ignore\_case}(s_1[witness],s_2[witness]) \f$
133-
/// \param fresh_symbol: generator of fresh symbols
134131
/// \param f: function application with arguments refined_string `s1` and
135132
/// refined_string `s2`
136-
/// \param array_pool: pool of arrays representing strings
137133
/// \return Boolean expression `eq`
138134
std::pair<exprt, string_constraintst>
139135
string_constraint_generatort::add_axioms_for_equals_ignore_case(
@@ -204,10 +200,8 @@ string_constraint_generatort::add_axioms_for_equals_ignore_case(
204200
/// (|s1|<|s2| \land x=|s1|) \lor (|s1| > |s2| \land x=|s2|)
205201
/// \land res=|s1|-|s2|) \f$
206202
/// * \f$ \forall i'<x. res\ne 0 \Rightarrow s1[i]=s2[i] \f$
207-
/// \param fresh_symbol: generator of fresh symbols
208203
/// \param f: function application with arguments refined_string `s1` and
209204
/// refined_string `s2`
210-
/// \param array_pool: pool of arrays representing strings
211205
/// \return integer expression `res`
212206
std::pair<exprt, string_constraintst>
213207
string_constraint_generatort::add_axioms_for_compare_to(

src/solvers/strings/string_constraint_generator_constants.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Author: Romain Brenguier, [email protected]
1818
/// equal.
1919
/// \param res: array of characters for the result
2020
/// \param sval: a string constant
21-
/// \param array_pool: pool of arrays representing strings
2221
/// \param guard: condition under which the axiom should apply, true by default
2322
/// \return integer expression equal to zero
2423
std::pair<exprt, string_constraintst>
@@ -74,11 +73,9 @@ string_constraint_generatort::add_axioms_for_empty_string(
7473
}
7574

7675
/// Convert an expression of type string_typet to a string_exprt
77-
/// \param fresh_symbol: generator of fresh symbols
7876
/// \param res: string expression for the result
7977
/// \param arg: expression of type string typet
8078
/// \param guard: condition under which `res` should be equal to arg
81-
/// \param array_pool: pool of arrays representing strings
8279
/// \return 0 if constraints were added, 1 if expression could not be handled
8380
/// and no constraint was added. Expression we can handle are of the form
8481
/// \f$ e := "<string constant>" | (expr)? e : e \f$
@@ -108,10 +105,8 @@ string_constraint_generatort::add_axioms_for_cprover_string(
108105
/// Add axioms ensuring that the returned string expression is equal to the
109106
/// string literal.
110107
/// \todo The name of the function should be changed to reflect what it does.
111-
/// \param fresh_symbol: generator of fresh symbols
112108
/// \param f: function application with an argument which is a string literal
113109
/// that is a constant with a string value.
114-
/// \param array_pool: pool of arrays representing strings
115110
/// \return string expression
116111
std::pair<exprt, string_constraintst>
117112
string_constraint_generatort::add_axioms_from_literal(

0 commit comments

Comments
 (0)