Skip to content

Commit 7df77e8

Browse files
author
martin
committed
Add the overrides that clang wants.
1 parent e96e09b commit 7df77e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/analyses/constant_propagator.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ class constant_propagator_domaint:public ai_domain_baset
2525
locationt from,
2626
locationt to,
2727
ai_baset &ai_base,
28-
const namespacet &ns);
28+
const namespacet &ns) override;
2929

3030
virtual void output(
3131
std::ostream &out,
3232
const ai_baset &ai_base,
33-
const namespacet &ns) const;
33+
const namespacet &ns) const override;
3434

3535
bool merge(
3636
const constant_propagator_domaint &other,
@@ -41,17 +41,17 @@ class constant_propagator_domaint:public ai_domain_baset
4141
exprt &condition,
4242
const namespacet &ns) const override;
4343

44-
virtual void make_bottom()
44+
virtual void make_bottom() override
4545
{
4646
values.set_to_bottom();
4747
}
4848

49-
virtual void make_top()
49+
virtual void make_top() override
5050
{
5151
values.set_to_top();
5252
}
5353

54-
virtual void make_entry()
54+
virtual void make_entry() override
5555
{
5656
make_top();
5757
}

0 commit comments

Comments
 (0)