Mark overrided methods by override keyword

This commit is contained in:
Andrei Kortunov 2020-10-16 22:18:54 +04:00
parent e5392cabf1
commit 8ca3c3b123
441 changed files with 3661 additions and 3673 deletions

View file

@ -9,10 +9,10 @@ namespace Compiler
class NullErrorHandler : public ErrorHandler
{
virtual void report (const std::string& message, const TokenLoc& loc, Type type);
void report (const std::string& message, const TokenLoc& loc, Type type) override;
///< Report error to the user.
virtual void report (const std::string& message, Type type);
void report (const std::string& message, Type type) override;
///< Report a file related error
};
}