Skip to content

Commit a78d4fe

Browse files
romainbrenguierDaniel Kroening
authored and
Daniel Kroening
committed
Remove unused methods of smt2_conv
No functional change. This functions were not used anyway, this simplifies the interface.
1 parent f22d3cf commit a78d4fe

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/solvers/smt2/smt2_conv.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4092,11 +4092,6 @@ void smt2_convt::unflatten(
40924092
}
40934093
}
40944094

4095-
void smt2_convt::convert_overflow(const exprt &)
4096-
{
4097-
UNREACHABLE;
4098-
}
4099-
41004095
void smt2_convt::set_to(const exprt &expr, bool value)
41014096
{
41024097
PRECONDITION(expr.type().id() == ID_bool);

src/solvers/smt2/smt2_conv.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ class smt2_convt:public prop_convt
148148
// tweaks for arrays
149149
bool use_array_theory(const exprt &);
150150
void flatten_array(const exprt &);
151-
void unflatten_array(const exprt &);
152151

153152
// specific expressions go here
154153
void convert_byte_update(const byte_update_exprt &expr);
@@ -172,15 +171,12 @@ class smt2_convt:public prop_convt
172171
void convert_mod(const mod_exprt &expr);
173172
void convert_index(const index_exprt &expr);
174173
void convert_member(const member_exprt &expr);
175-
void convert_overflow(const exprt &expr);
174+
176175
void convert_with(const with_exprt &expr);
177176
void convert_update(const exprt &expr);
178177

179178
std::string convert_identifier(const irep_idt &identifier);
180179

181-
// introduces a let-expression for operands
182-
exprt convert_operands(const exprt &);
183-
184180
// auxiliary methods
185181
void find_symbols(const exprt &expr);
186182
void find_symbols(const typet &type);

0 commit comments

Comments
 (0)