@@ -748,18 +748,6 @@ code_blockt create_fatal_assertion(
748
748
class code_ifthenelset :public codet
749
749
{
750
750
public:
751
- DEPRECATED (SINCE(
752
- 2018 ,
753
- 12 ,
754
- 2 ,
755
- " use code_ifthenelset(condition, then_code[, else_code]) instead" ))
756
- code_ifthenelset ():codet(ID_ifthenelse)
757
- {
758
- operands ().resize (3 );
759
- op1 ().make_nil ();
760
- op2 ().make_nil ();
761
- }
762
-
763
751
// / An if \p condition then \p then_code else \p else_code statement.
764
752
code_ifthenelset (exprt condition, codet then_code, codet else_code)
765
753
: codet(
@@ -1034,13 +1022,6 @@ inline code_dowhilet &to_code_dowhile(codet &code)
1034
1022
class code_fort :public codet
1035
1023
{
1036
1024
public:
1037
- DEPRECATED (
1038
- SINCE (2018 , 12 , 2 , " use code_fort(init, cond, iter, body) instead" ))
1039
- code_fort():codet(ID_for)
1040
- {
1041
- operands ().resize (4 );
1042
- }
1043
-
1044
1025
// / A statement describing a for loop with initializer \p _init, loop
1045
1026
// / condition \p _cond, increment \p _iter, and body \p _body.
1046
1027
code_fort (exprt _init, exprt _cond, exprt _iter, codet _body)
@@ -1973,17 +1954,6 @@ inline const side_effect_exprt &to_side_effect_expr(const exprt &expr)
1973
1954
class side_effect_expr_nondett :public side_effect_exprt
1974
1955
{
1975
1956
public:
1976
- DEPRECATED (SINCE(
1977
- 2018 ,
1978
- 8 ,
1979
- 9 ,
1980
- " use side_effect_expr_nondett(statement, type, loc) instead" ))
1981
- explicit side_effect_expr_nondett (const typet &_type):
1982
- side_effect_exprt(ID_nondet, _type)
1983
- {
1984
- set_nullable (true );
1985
- }
1986
-
1987
1957
side_effect_expr_nondett (typet _type, source_locationt loc)
1988
1958
: side_effect_exprt(ID_nondet, std::move(_type), std::move(loc))
1989
1959
{
@@ -2468,12 +2438,6 @@ static inline const code_landingpadt &to_code_landingpad(const codet &code)
2468
2438
class code_try_catcht :public codet
2469
2439
{
2470
2440
public:
2471
- DEPRECATED (SINCE(2018 , 12 , 2 , " use code_try_catcht(try_code) instead" ))
2472
- code_try_catcht ():codet(ID_try_catch)
2473
- {
2474
- operands ().resize (1 );
2475
- }
2476
-
2477
2441
// / A statement representing try \p _try_code catch ...
2478
2442
explicit code_try_catcht (codet _try_code)
2479
2443
: codet(ID_try_catch, {std::move (_try_code)})
0 commit comments