Skip to content

Commit 5cb0e5e

Browse files
Removed mention of c string type
Refined string type should be used instead as we are trying to be language independent.
1 parent 2929d7f commit 5cb0e5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solvers/refinement/string_constraint_generator_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ string_exprt string_constraint_generatort::add_axioms_for_if(
215215
const if_exprt &expr)
216216
{
217217
assert(
218-
refined_string_typet::is_c_string_type(expr.true_case().type()));
218+
refined_string_typet::is_refined_string_type(expr.true_case().type()));
219219
string_exprt t=add_axioms_for_string_expr(expr.true_case());
220220
assert(
221-
refined_string_typet::is_c_string_type(expr.false_case().type()));
221+
refined_string_typet::is_refined_string_type(expr.false_case().type()));
222222
string_exprt f=add_axioms_for_string_expr(expr.false_case());
223223
const refined_string_typet &ref_type=to_refined_string_type(t.type());
224224
const typet &index_type=ref_type.get_index_type();

0 commit comments

Comments
 (0)