File tree 5 files changed +3
-10
lines changed
5 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 9
9
#ifndef CPROVER_UTIL_EXPR_H
10
10
#define CPROVER_UTIL_EXPR_H
11
11
12
+ #include " deprecate.h"
12
13
#include " type.h"
13
14
#include " validate_expressions.h"
14
15
#include " validate_types.h"
Original file line number Diff line number Diff line change @@ -109,11 +109,6 @@ int irept::get_int(const irep_namet &name) const
109
109
return unsafe_string2int (get_string (name));
110
110
}
111
111
112
- unsigned int irept::get_unsigned_int (const irep_namet &name) const
113
- {
114
- return unsafe_string2unsigned (get_string (name));
115
- }
116
-
117
112
std::size_t irept::get_size_t (const irep_namet &name) const
118
113
{
119
114
return unsafe_string2size_t (get_string (name));
Original file line number Diff line number Diff line change 13
13
#include < string>
14
14
#include < vector>
15
15
16
- #include " deprecate.h"
17
16
#include " invariant.h"
18
17
#include " irep_ids.h"
19
18
@@ -208,7 +207,6 @@ class sharing_treet
208
207
{
209
208
if (data!=&empty_d)
210
209
{
211
- // NOLINTNEXTLINE(build/deprecated)
212
210
PRECONDITION (data->ref_count != 0 );
213
211
data->ref_count ++;
214
212
#ifdef IREP_DEBUG
@@ -433,9 +431,6 @@ class irept
433
431
const irep_idt &get (const irep_namet &name) const ;
434
432
bool get_bool (const irep_namet &name) const ;
435
433
signed int get_int (const irep_namet &name) const ;
436
- // / \deprecated use get_size_t instead
437
- DEPRECATED (" Use get_size_t instead" )
438
- unsigned int get_unsigned_int (const irep_namet &name) const ;
439
434
std::size_t get_size_t (const irep_namet &name) const ;
440
435
long long get_long_long (const irep_namet &name) const ;
441
436
Original file line number Diff line number Diff line change 15
15
#include < sstream>
16
16
#include < string>
17
17
18
+ #include " deprecate.h"
18
19
#include " invariant.h"
19
20
#include " json.h"
20
21
#include " source_location.h"
Original file line number Diff line number Diff line change 15
15
16
16
class namespacet ;
17
17
18
+ #include " deprecate.h"
18
19
#include " source_location.h"
19
20
#include " validate_types.h"
20
21
#include " validation_mode.h"
You can’t perform that action at this time.
0 commit comments