@@ -194,21 +194,15 @@ class string_constraint_generatort
194
194
const exprt &from_index);
195
195
196
196
// Add axioms corresponding to the String.indexOf:(String;I) java function
197
- // TODO: the specifications are only partial:
198
- // we add axioms stating that the returned value is either -1 or greater than
199
- // from_index and the string beggining there has prefix substring
200
197
exprt add_axioms_for_index_of_string (
201
198
const string_exprt &haystack,
202
199
const string_exprt &needle,
203
200
const exprt &from_index);
204
201
205
202
// Add axioms corresponding to the String.indexOf java functions
206
- // TODO: the specifications are only partial for the ones that look for
207
- // strings
208
203
exprt add_axioms_for_index_of (const function_application_exprt &f);
209
204
210
205
// Add axioms corresponding to the String.lastIndexOf:(String;I) java function
211
- // TODO: the specifications are only partial
212
206
exprt add_axioms_for_last_index_of_string (
213
207
const string_exprt &str,
214
208
const string_exprt &substring,
@@ -221,7 +215,6 @@ class string_constraint_generatort
221
215
const exprt &from_index);
222
216
223
217
// Add axioms corresponding to the String.lastIndexOf java functions
224
- // TODO: the specifications is only partial
225
218
exprt add_axioms_for_last_index_of (const function_application_exprt &f);
226
219
227
220
// TODO: the specifications of these functions is only partial
0 commit comments