C++11: Use override where possible. No functional change.

This commit is contained in:
Wilson Snyder
2020-08-16 11:44:05 -04:00
parent ea4031cbd3
commit 042d3eed23
83 changed files with 2905 additions and 2798 deletions
+3 -3
View File
@@ -54,11 +54,11 @@ class TableSimulateVisitor : public SimulateVisitor {
public:
///< Call other-this function on all new var references
virtual void varRefCb(AstVarRef* nodep);
virtual void varRefCb(AstVarRef* nodep) override;
// CONSTRUCTORS
explicit TableSimulateVisitor(TableVisitor* cbthis) { m_cbthis = cbthis; }
virtual ~TableSimulateVisitor() {}
virtual ~TableSimulateVisitor() override {}
};
//######################################################################
@@ -461,7 +461,7 @@ public:
m_totalBytes = 0;
iterate(nodep);
}
virtual ~TableVisitor() { //
virtual ~TableVisitor() override { //
V3Stats::addStat("Optimizations, Tables created", m_statTablesCre);
}
};