|
19 | 19 | #include <limits> |
20 | 20 | #include <string> |
21 | 21 |
|
22 | | -#include <util/deprecate.h> |
23 | 22 | #include <util/invariant.h> |
24 | 23 | #include <util/source_location.h> |
25 | 24 |
|
@@ -184,13 +183,6 @@ class goto_programt |
184 | 183 | goto_instruction_codet _code; |
185 | 184 |
|
186 | 185 | 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 | | - |
194 | 186 | /// Get the code represented by this instruction |
195 | 187 | const goto_instruction_codet &code() const |
196 | 188 | { |
@@ -734,30 +726,9 @@ class goto_programt |
734 | 726 | return add(instructiont(type)); |
735 | 727 | } |
736 | 728 |
|
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 | | - |
747 | 729 | /// Output goto-program to given stream |
748 | 730 | std::ostream &output(std::ostream &out) const; |
749 | 731 |
|
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 | | - |
761 | 732 | /// Compute the target numbers |
762 | 733 | void compute_target_numbers(); |
763 | 734 |
|
|
0 commit comments