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