@@ -748,18 +748,6 @@ code_blockt create_fatal_assertion(
748748class code_ifthenelset :public codet
749749{
750750public:
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-
763751 // / An if \p condition then \p then_code else \p else_code statement.
764752 code_ifthenelset (exprt condition, codet then_code, codet else_code)
765753 : codet(
@@ -1034,13 +1022,6 @@ inline code_dowhilet &to_code_dowhile(codet &code)
10341022class code_fort :public codet
10351023{
10361024public:
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-
10441025 // / A statement describing a for loop with initializer \p _init, loop
10451026 // / condition \p _cond, increment \p _iter, and body \p _body.
10461027 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)
19731954class side_effect_expr_nondett :public side_effect_exprt
19741955{
19751956public:
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-
19871957 side_effect_expr_nondett (typet _type, source_locationt loc)
19881958 : side_effect_exprt(ID_nondet, std::move(_type), std::move(loc))
19891959 {
@@ -2468,12 +2438,6 @@ static inline const code_landingpadt &to_code_landingpad(const codet &code)
24682438class code_try_catcht :public codet
24692439{
24702440public:
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-
24772441 // / A statement representing try \p _try_code catch ...
24782442 explicit code_try_catcht (codet _try_code)
24792443 : codet(ID_try_catch, {std::move (_try_code)})
0 commit comments