Fix missing override

This commit is contained in:
Wilson Snyder 2021-12-12 19:53:20 -05:00
parent aa8423ba46
commit 0a94ea5386

View File

@ -1410,7 +1410,7 @@ public:
virtual void dumpSmall(std::ostream& str) const override; virtual void dumpSmall(std::ostream& str) const override;
virtual bool hasDType() const override { return true; } virtual bool hasDType() const override { return true; }
virtual bool maybePointedTo() const override { return true; } virtual bool maybePointedTo() const override { return true; }
virtual bool undead() const { return true; } virtual bool undead() const override { return true; }
virtual AstNodeDType* subDTypep() const override { return nullptr; } virtual AstNodeDType* subDTypep() const override { return nullptr; }
virtual AstNodeDType* virtRefDTypep() const override { return nullptr; } virtual AstNodeDType* virtRefDTypep() const override { return nullptr; }
virtual void virtRefDTypep(AstNodeDType* nodep) override {} virtual void virtRefDTypep(AstNodeDType* nodep) override {}
@ -1438,7 +1438,7 @@ public:
virtual void dumpSmall(std::ostream& str) const override; virtual void dumpSmall(std::ostream& str) const override;
virtual bool hasDType() const override { return true; } virtual bool hasDType() const override { return true; }
virtual bool maybePointedTo() const override { return true; } virtual bool maybePointedTo() const override { return true; }
virtual bool undead() const { return true; } virtual bool undead() const override { return true; }
virtual AstNodeDType* subDTypep() const override { return nullptr; } virtual AstNodeDType* subDTypep() const override { return nullptr; }
virtual AstNodeDType* virtRefDTypep() const override { return nullptr; } virtual AstNodeDType* virtRefDTypep() const override { return nullptr; }
virtual void virtRefDTypep(AstNodeDType* nodep) override {} virtual void virtRefDTypep(AstNodeDType* nodep) override {}