Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/ansi-c/c_typecheck_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ class c_typecheck_baset:
virtual void make_index_type(exprt &expr);
virtual void make_constant(exprt &expr);
virtual void make_constant_index(exprt &expr);
virtual void make_constant_rec(exprt &expr);

virtual bool gcc_types_compatible_p(const typet &, const typet &);

Expand Down
5 changes: 0 additions & 5 deletions src/ansi-c/c_typecheck_expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3451,7 +3451,6 @@ void c_typecheck_baset::typecheck_side_effect_assignment(

void c_typecheck_baset::make_constant(exprt &expr)
{
make_constant_rec(expr);
simplify(expr, *this);

if(!expr.is_constant() &&
Expand All @@ -3478,7 +3477,3 @@ void c_typecheck_baset::make_constant_index(exprt &expr)
throw 0;
}
}

void c_typecheck_baset::make_constant_rec(exprt &expr)
{
}