-Werror,-Winconsistent-missing-override

Change-Id: I4cfb01582e5cfef55909ae56fd14ce8ccd5c14be
Reviewed-on: https://gerrit.libreoffice.org/79990
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2019-10-01 19:10:34 +02:00
parent b7e4e20b62
commit 9d99dc8a83

View File

@@ -35,9 +35,9 @@ class DuplicateDefines : public clang::PPCallbacks, public Plugin
public:
explicit DuplicateDefines(const InstantiationData& data);
virtual void run() override;
void MacroDefined(const Token& MacroNameTok, const MacroDirective* MD);
void MacroDefined(const Token& MacroNameTok, const MacroDirective* MD) override;
void MacroUndefined(const Token& MacroNameTok, const MacroDefinition& MD,
const MacroDirective* Undef);
const MacroDirective* Undef) override;
enum
{
isPPCallback = true