File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -1751,7 +1751,7 @@ void java_string_library_preprocesst::initialize_conversion_table()
1751
1751
[" java::java.lang.StringBuffer.append:(F)Ljava/lang/StringBuffer;" ]=
1752
1752
ID_cprover_string_concat_float_func;
1753
1753
cprover_equivalent_to_java_assign_and_return_function
1754
- [" java::java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;" ]=
1754
+ [" java::java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;" ] =
1755
1755
ID_cprover_string_concat_int_func;
1756
1756
cprover_equivalent_to_java_assign_and_return_function
1757
1757
[" java::java.lang.StringBuffer.append:(J)Ljava/lang/StringBuffer;" ]=
Original file line number Diff line number Diff line change @@ -1889,7 +1889,8 @@ void smt2_convt::convert_expr(const exprt &expr)
1889
1889
// width must be multiple of bytes
1890
1890
DATA_INVARIANT (
1891
1891
width % bits_per_byte == 0 ,
1892
- " bit width indicated by type of bswap expression should be a multiple "
1892
+ " bit width indicated by type of bswap expression should "
1893
+ " be a multiple "
1893
1894
" of the number of bits per byte" );
1894
1895
1895
1896
const std::size_t bytes = width / bits_per_byte;
@@ -4457,8 +4458,8 @@ void smt2_convt::find_symbols(const exprt &expr)
4457
4458
4458
4459
exprt tmp1=expr;
4459
4460
for (std::size_t i = 0 ; i < tmp1.operands ().size (); i++)
4460
- tmp1.operands ()[i]=
4461
- smt2_symbolt ( " op" + std::to_string (i), tmp1.operands ()[i].type ());
4461
+ tmp1.operands ()[i] = smt2_symbol_exprt (
4462
+ " op" + std::to_string (i), tmp1.operands ()[i].type ());
4462
4463
4463
4464
exprt tmp2=float_bv (tmp1);
4464
4465
tmp2=letify (tmp2);
Original file line number Diff line number Diff line change @@ -154,10 +154,10 @@ class smt2_convt : public stack_decision_proceduret
154
154
std::string floatbv_suffix (const exprt &) const ;
155
155
std::set<irep_idt> bvfp_set; // already converted
156
156
157
- class smt2_symbolt : public nullary_exprt
157
+ class smt2_symbol_exprt : public nullary_exprt
158
158
{
159
159
public:
160
- smt2_symbolt (const irep_idt &_identifier, const typet &_type)
160
+ smt2_symbol_exprt (const irep_idt &_identifier, const typet &_type)
161
161
: nullary_exprt(ID_smt2_symbol, _type)
162
162
{ set (ID_identifier, _identifier); }
163
163
@@ -167,10 +167,10 @@ class smt2_convt : public stack_decision_proceduret
167
167
}
168
168
};
169
169
170
- const smt2_symbolt &to_smt2_symbol (const exprt &expr)
170
+ const smt2_symbol_exprt &to_smt2_symbol (const exprt &expr)
171
171
{
172
172
assert (expr.id ()==ID_smt2_symbol && !expr.has_operands ());
173
- return static_cast <const smt2_symbolt &>(expr);
173
+ return static_cast <const smt2_symbol_exprt &>(expr);
174
174
}
175
175
176
176
// flattens any non-bitvector type into a bitvector,
You can’t perform that action at this time.
0 commit comments