Skip to content

Commit 3b56b1b

Browse files
committed
Revert virtual/override changes
1 parent 513b705 commit 3b56b1b

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

src/analyses/reaching_definitions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class reaching_definitions_analysist:
242242
// constructor
243243
explicit reaching_definitions_analysist(const namespacet &_ns);
244244

245-
~reaching_definitions_analysist();
245+
virtual ~reaching_definitions_analysist();
246246

247247
virtual void initialize(
248248
const goto_functionst &goto_functions);

src/jsil/jsil_language.h

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,52 +20,52 @@ Author: Michael Tautschnig, [email protected]
2020
class jsil_languaget:public languaget
2121
{
2222
public:
23-
bool preprocess(
23+
virtual bool preprocess(
2424
std::istream &instream,
2525
const std::string &path,
26-
std::ostream &outstream) override;
26+
std::ostream &outstream);
2727

28-
bool parse(
28+
virtual bool parse(
2929
std::istream &instream,
30-
const std::string &path) override;
30+
const std::string &path);
3131

32-
bool typecheck(
32+
virtual bool typecheck(
3333
symbol_tablet &context,
34-
const std::string &module) override;
34+
const std::string &module);
3535

36-
bool final(symbol_tablet &context) override;
36+
virtual bool final(symbol_tablet &context);
3737

38-
void show_parse(std::ostream &out) override;
38+
virtual void show_parse(std::ostream &out);
3939

40+
virtual ~jsil_languaget();
4041
jsil_languaget() { }
41-
~jsil_languaget();
4242

43-
bool from_expr(
43+
virtual bool from_expr(
4444
const exprt &expr,
4545
std::string &code,
46-
const namespacet &ns) override;
46+
const namespacet &ns);
4747

48-
bool from_type(
48+
virtual bool from_type(
4949
const typet &type,
5050
std::string &code,
51-
const namespacet &ns) override;
51+
const namespacet &ns);
5252

53-
bool to_expr(
53+
virtual bool to_expr(
5454
const std::string &code,
5555
const std::string &module,
5656
exprt &expr,
57-
const namespacet &ns) override;
57+
const namespacet &ns);
5858

59-
std::unique_ptr<languaget> new_language() override
59+
virtual std::unique_ptr<languaget> new_language()
6060
{ return util_make_unique<jsil_languaget>(); }
6161

62-
std::string id() const override { return "jsil"; }
63-
std::string description() const override
62+
virtual std::string id() const { return "jsil"; }
63+
virtual std::string description() const
6464
{ return "Javascript Intermediate Language"; }
65-
std::set<std::string> extensions() const override;
65+
virtual std::set<std::string> extensions() const;
6666

67-
void modules_provided(std::set<std::string> &modules) override;
68-
bool interfaces(symbol_tablet &symbol_table) override;
67+
virtual void modules_provided(std::set<std::string> &modules);
68+
virtual bool interfaces(symbol_tablet &symbol_table);
6969

7070
protected:
7171
jsil_parse_treet parse_tree;

0 commit comments

Comments
 (0)