10
10
#define CPROVER_UTIL_EXPR_H
11
11
12
12
#include " as_const.h"
13
- #include " deprecate.h"
14
13
#include " type.h"
15
14
#include " validate_expressions.h"
16
15
#include " validate_types.h"
@@ -172,29 +171,6 @@ class exprt:public irept
172
171
operands ().push_back (std::move (expr));
173
172
}
174
173
175
- // / Copy the given arguments to the end of `exprt`'s operands.
176
- // / \param e1: first `exprt` to append to the operands
177
- // / \param e2: second `exprt` to append to the operands
178
- DEPRECATED (SINCE(2022 , 2 , 15 , " use add_to_operands(&&, &&) instead" ))
179
- void copy_to_operands (const exprt &e1 , const exprt &e2 )
180
- {
181
- operandst &op = operands ();
182
- #ifndef USE_LIST
183
- op.reserve (op.size () + 2 );
184
- #endif
185
- op.push_back (e1 );
186
- op.push_back (e2 );
187
- }
188
-
189
- // / Add the given arguments to the end of `exprt`'s operands.
190
- // / \param e1: first `exprt` to append to the operands
191
- // / \param e2: second `exprt` to append to the operands
192
- DEPRECATED (SINCE(2022 , 2 , 15 , " use add_to_operands(&&, &&) instead" ))
193
- void add_to_operands (const exprt &e1 , const exprt &e2 )
194
- {
195
- copy_to_operands (e1 , e2 );
196
- }
197
-
198
174
// / Add the given arguments to the end of `exprt`'s operands.
199
175
// / \param e1: first `exprt` to append to the operands
200
176
// / \param e2: second `exprt` to append to the operands
@@ -208,32 +184,6 @@ class exprt:public irept
208
184
op.push_back (std::move (e2 ));
209
185
}
210
186
211
- // / Add the given arguments to the end of `exprt`'s operands.
212
- // / \param e1: first `exprt` to append to the operands
213
- // / \param e2: second `exprt` to append to the operands
214
- // / \param e3: third `exprt` to append to the operands
215
- DEPRECATED (SINCE(2022 , 2 , 15 , " use add_to_operands(&&, &&, &&) instead" ))
216
- void add_to_operands (const exprt &e1 , const exprt &e2 , const exprt &e3 )
217
- {
218
- copy_to_operands (e1 , e2 , e3 );
219
- }
220
-
221
- // / Copy the given arguments to the end of `exprt`'s operands.
222
- // / \param e1: first `exprt` to append to the operands
223
- // / \param e2: second `exprt` to append to the operands
224
- // / \param e3: third `exprt` to append to the operands
225
- DEPRECATED (SINCE(2022 , 2 , 15 , " use add_to_operands(&&, &&, &&) instead" ))
226
- void copy_to_operands (const exprt &e1 , const exprt &e2 , const exprt &e3 )
227
- {
228
- operandst &op = operands ();
229
- #ifndef USE_LIST
230
- op.reserve (op.size () + 3 );
231
- #endif
232
- op.push_back (e1 );
233
- op.push_back (e2 );
234
- op.push_back (e3 );
235
- }
236
-
237
187
// / Add the given arguments to the end of `exprt`'s operands.
238
188
// / \param e1: first `exprt` to append to the operands
239
189
// / \param e2: second `exprt` to append to the operands
0 commit comments