Skip to content

Commit 3a69957

Browse files
author
Daniel Kroening
committed
deprecate to_unsigned_integer
1 parent 04439ce commit 3a69957

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/arith_tools.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ bool to_integer(const exprt &expr, mp_integer &int_value);
2929
bool to_integer(const constant_exprt &expr, mp_integer &int_value);
3030

3131
// returns 'true' on error
32+
DEPRECATED("Use numeric_cast<unsigned>(e) instead")
3233
bool to_unsigned_integer(const constant_exprt &expr, unsigned &uint_value);
3334

3435
/// Numerical cast provides a unified way of converting from one numerical type

0 commit comments

Comments
 (0)