Skip to content

Commit 86b429a

Browse files
committed
Remove unnecessary use of "virtual"
These functions are neither provided by any base classes nor is anyone inheriting from these classes.
1 parent 6f06664 commit 86b429a

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

jbmc/src/janalyzer/janalyzer_parse_options.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ class janalyzer_parse_optionst : public parse_options_baset, public messaget
162162
ui_message_handlert ui_message_handler;
163163
goto_modelt goto_model;
164164

165-
virtual void register_languages();
165+
void register_languages();
166166

167-
virtual void get_command_line_options(optionst &options);
167+
void get_command_line_options(optionst &options);
168168

169-
virtual bool process_goto_program(const optionst &options);
169+
bool process_goto_program(const optionst &options);
170170
bool set_properties();
171171

172172
virtual int perform_analysis(const optionst &options);

jbmc/src/jdiff/jdiff_parse_options.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,14 @@ class jdiff_parse_optionst : public parse_options_baset, public jdiff_languagest
5959
ui_message_handlert ui_message_handler;
6060
jdiff_languagest languages2;
6161

62-
virtual void get_command_line_options(optionst &options);
62+
void get_command_line_options(optionst &options);
6363

6464
virtual int get_goto_program(
6565
const optionst &options,
6666
jdiff_languagest &languages,
6767
goto_modelt &goto_model);
6868

69-
virtual bool
70-
process_goto_program(const optionst &options, goto_modelt &goto_model);
69+
bool process_goto_program(const optionst &options, goto_modelt &goto_model);
7170

7271
void preprocessing();
7372
};

src/goto-diff/goto_diff_parse_options.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,14 @@ class goto_diff_parse_optionst:
5959
ui_message_handlert ui_message_handler;
6060
goto_diff_languagest languages2;
6161

62-
virtual void get_command_line_options(optionst &options);
62+
void get_command_line_options(optionst &options);
6363

6464
virtual int get_goto_program(
6565
const optionst &options,
6666
goto_diff_languagest &languages,
6767
goto_modelt &goto_model);
6868

69-
virtual bool process_goto_program(
70-
const optionst &options,
71-
goto_modelt &goto_model);
69+
bool process_goto_program(const optionst &options, goto_modelt &goto_model);
7270

7371
void preprocessing();
7472
};

src/goto-instrument/goto_instrument_parse_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class goto_instrument_parse_optionst:
128128

129129
protected:
130130
ui_message_handlert ui_message_handler;
131-
virtual void register_languages();
131+
void register_languages();
132132

133133
void get_goto_program();
134134
void instrument_goto_program();

0 commit comments

Comments
 (0)