Skip to content

Commit

Permalink
Un-deprecate to_integer(constant_exprt)
Browse files Browse the repository at this point in the history
The recommended substitute uses this function, removing it is currently
impossible.
  • Loading branch information
tautschnig committed Jun 7, 2018
1 parent feb59ab commit 04565b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/util/arith_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ DEPRECATED("Use the constant_exprt version instead")
bool to_integer(const exprt &expr, mp_integer &int_value);

// returns 'true' on error
/// \deprecated: use numeric_cast<mp_integer> instead
DEPRECATED("Use numeric_cast<mp_integer> instead")
bool to_integer(const constant_exprt &expr, mp_integer &int_value);

// returns 'true' on error
Expand Down

0 comments on commit 04565b4

Please sign in to comment.