Fix compile warnings about missing override

Task-number: QTCREATORBUG-24098
Change-Id: I9c50d070d34a198b39176f6db13bc2f95521a6a8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jarek Kobus
2020-11-23 16:44:16 +01:00
parent c1a0e9d638
commit b5c820d76d
10 changed files with 1384 additions and 1384 deletions

View File

@@ -112,14 +112,14 @@ public:
: Literal(chars, size)
{ }
virtual const Identifier *identifier() const { return this; }
const Identifier *identifier() const override { return this; }
virtual const Identifier *asNameId() const
const Identifier *asNameId() const override
{ return this; }
protected:
virtual void accept0(NameVisitor *visitor) const;
virtual bool match0(const Name *otherName, Matcher *matcher) const;
void accept0(NameVisitor *visitor) const override;
bool match0(const Name *otherName, Matcher *matcher) const override;
};
} // namespace CPlusPlus