Skip to content

Commit 75a4aec

Browse files
Revert "the deprecation will need to wait until codebase is clean"
This reverts commit bba17d9. The concerns of that commit should be addressed by disabling the warnings by default
1 parent 67735b5 commit 75a4aec

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)