Skip to content

Commit bba17d9

Browse files
author
Daniel Kroening
committed
the deprecation will need to wait until codebase is clean
1 parent 5a637bf commit bba17d9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/util/arith_tools.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class typet;
2323
// this one will go away
2424
// returns 'true' on error
2525
/// \deprecated: use the constant_exprt version instead
26-
DEPRECATED("Use the constant_exprt version instead")
26+
//DEPRECATED("Use the constant_exprt version instead")
2727
bool to_integer(const exprt &expr, mp_integer &int_value);
2828

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

3434
// returns 'true' on error

src/util/mp_arith.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ const std::string integer2binary(const mp_integer &, std::size_t width);
5353
const mp_integer binary2integer(const std::string &, bool is_signed);
5454

5555
/// \deprecated use numeric_cast<unsigned long long> instead
56-
DEPRECATED("Use numeric_cast<unsigned long long> instead")
56+
//DEPRECATED("Use numeric_cast<unsigned long long> instead")
5757
mp_integer::ullong_t integer2ulong(const mp_integer &);
5858

5959
/// \deprecated use numeric_cast<std::size_t> instead
60-
DEPRECATED("Use numeric_cast<std::size_t> instead")
60+
//DEPRECATED("Use numeric_cast<std::size_t> instead")
6161
std::size_t integer2size_t(const mp_integer &);
6262

6363
/// \deprecated use numeric_cast<unsigned> instead
64-
DEPRECATED("Use numeric_cast<unsigned> instead")
64+
//DEPRECATED("Use numeric_cast<unsigned> instead")
6565
unsigned integer2unsigned(const mp_integer &);
6666

6767
const mp_integer mp_zero=string2integer("0");

0 commit comments

Comments
 (0)