@@ -353,64 +353,71 @@ class goto_programt
353
353
clear (SKIP);
354
354
}
355
355
356
- DEPRECATED (" use goto_programt::make_return() instead" )
356
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_return() instead" ) )
357
357
void make_return () { clear (RETURN); }
358
358
359
- DEPRECATED (" use goto_programt::make_skip() instead" )
359
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_skip() instead" ) )
360
360
void make_skip () { clear (SKIP); }
361
361
362
- DEPRECATED (" use goto_programt::make_location() instead" )
362
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_location() instead" ) )
363
363
void make_location (const source_locationt &l)
364
364
{ clear (LOCATION); source_location=l; }
365
365
366
- DEPRECATED (" use goto_programt::make_throw() instead" )
366
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_throw() instead" ) )
367
367
void make_throw () { clear (THROW); }
368
368
369
- DEPRECATED (" use goto_programt::make_catch() instead" )
369
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_catch() instead" ) )
370
370
void make_catch () { clear (CATCH); }
371
371
372
- DEPRECATED (" use goto_programt::make_assertion() instead" )
372
+ DEPRECATED (
373
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_assertion() instead" ))
373
374
void make_assertion(const exprt &g) { clear (ASSERT); guard=g; }
374
375
375
- DEPRECATED (" use goto_programt::make_assumption() instead" )
376
+ DEPRECATED (
377
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_assumption() instead" ))
376
378
void make_assumption(const exprt &g) { clear (ASSUME); guard=g; }
377
379
378
- DEPRECATED (" use goto_programt::make_assignment() instead" )
380
+ DEPRECATED (
381
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_assignment() instead" ))
379
382
void make_assignment() { clear (ASSIGN); }
380
383
381
- DEPRECATED (" use goto_programt::make_other() instead" )
384
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_other() instead" ) )
382
385
void make_other(const codet &_code) { clear (OTHER); code=_code; }
383
386
384
- DEPRECATED (" use goto_programt::make_decl() instead" )
387
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_decl() instead" ) )
385
388
void make_decl() { clear (DECL); }
386
389
387
- DEPRECATED (" use goto_programt::make_dead() instead" )
390
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_dead() instead" ) )
388
391
void make_dead() { clear (DEAD); }
389
392
390
- DEPRECATED (" use goto_programt::make_atomic_begin() instead" )
393
+ DEPRECATED (
394
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_atomic_begin() instead" ))
391
395
void make_atomic_begin() { clear (ATOMIC_BEGIN); }
392
396
393
- DEPRECATED (" use goto_programt::make_atomic_end() instead" )
397
+ DEPRECATED (
398
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_atomic_end() instead" ))
394
399
void make_atomic_end() { clear (ATOMIC_END); }
395
400
396
- DEPRECATED (" use goto_programt::make_end_function() instead" )
401
+ DEPRECATED (
402
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_end_function() instead" ))
397
403
void make_end_function() { clear (END_FUNCTION); }
398
404
399
- DEPRECATED (" use goto_programt::make_incomplete_goto() instead" )
405
+ DEPRECATED (
406
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_incomplete_goto() instead" ))
400
407
void make_incomplete_goto(const code_gotot &_code)
401
408
{
402
409
clear (INCOMPLETE_GOTO);
403
410
code = _code;
404
411
}
405
412
406
- DEPRECATED (" use goto_programt::make_goto() instead" )
413
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_goto() instead" ) )
407
414
void make_goto(targett _target)
408
415
{
409
416
clear (GOTO);
410
417
targets.push_back (_target);
411
418
}
412
419
413
- DEPRECATED (" use goto_programt::make_goto() instead" )
420
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_goto() instead" ) )
414
421
void make_goto(targett _target, const exprt &g)
415
422
{
416
423
make_goto (_target);
@@ -425,21 +432,23 @@ class goto_programt
425
432
type = GOTO;
426
433
}
427
434
428
- DEPRECATED (" use goto_programt::make_assignment() instead" )
435
+ DEPRECATED (
436
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_assignment() instead" ))
429
437
void make_assignment(const code_assignt &_code)
430
438
{
431
439
clear (ASSIGN);
432
440
code=_code;
433
441
}
434
442
435
- DEPRECATED (" use goto_programt::make_decl() instead" )
443
+ DEPRECATED (SINCE( 2019 , 2 , 13 , " use goto_programt::make_decl() instead" ) )
436
444
void make_decl(const code_declt &_code)
437
445
{
438
446
clear (DECL);
439
447
code=_code;
440
448
}
441
449
442
- DEPRECATED (" use goto_programt::make_function_call() instead" )
450
+ DEPRECATED (
451
+ SINCE (2019 , 2 , 13 , " use goto_programt::make_function_call() instead" ))
443
452
void make_function_call(const code_function_callt &_code)
444
453
{
445
454
clear (FUNCTION_CALL);
0 commit comments