@@ -19,7 +19,6 @@ Author: Daniel Kroening, kroening@kroening.com
1919#include < limits>
2020#include < string>
2121
22- #include < util/deprecate.h>
2322#include < util/invariant.h>
2423#include < util/source_location.h>
2524
@@ -184,13 +183,6 @@ class goto_programt
184183 goto_instruction_codet _code;
185184
186185 public:
187- // / Get the code represented by this instruction
188- DEPRECATED (SINCE(2021 , 10 , 12 , " Use code() instead" ))
189- const goto_instruction_codet &get_code () const
190- {
191- return _code;
192- }
193-
194186 // / Get the code represented by this instruction
195187 const goto_instruction_codet &code () const
196188 {
@@ -734,30 +726,9 @@ class goto_programt
734726 return add (instructiont (type));
735727 }
736728
737- // / Output goto program to given stream
738- DEPRECATED (SINCE(2022 , 5 , 29 , " Use output(out) instead" ))
739- std::ostream &output(
740- const namespacet &ns,
741- const irep_idt &identifier,
742- std::ostream &out) const
743- {
744- return output (out);
745- }
746-
747729 // / Output goto-program to given stream
748730 std::ostream &output (std::ostream &out) const ;
749731
750- // / Output a single instruction
751- DEPRECATED (SINCE(2022 , 5 , 29 , " Use instruction.output(out) instead" ))
752- std::ostream &output_instruction(
753- const namespacet &ns,
754- const irep_idt &identifier,
755- std::ostream &out,
756- const instructionst::value_type &instruction) const
757- {
758- return instruction.output (out);
759- }
760-
761732 // / Compute the target numbers
762733 void compute_target_numbers ();
763734
0 commit comments