From 93c0d72932c93070d5644a45bd19f87c2c5d1fb8 Mon Sep 17 00:00:00 2001 From: irwincong Date: Fri, 13 Aug 2021 10:45:37 -0400 Subject: [PATCH] Remove override specification IncludesProcessor::InclusionDirective was declared with an override specification. IncludesProcessor inherits from PPCallbacks, and it does not declare an InclusionDirective virtual function. --- src/preprocessor/preprocessor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/preprocessor/preprocessor.h b/src/preprocessor/preprocessor.h index c6c8283..4f798ad 100644 --- a/src/preprocessor/preprocessor.h +++ b/src/preprocessor/preprocessor.h @@ -209,7 +209,7 @@ class IncludesProcessor : public PPCallbacks { /* callback that is invoked when an #include (or #import) is encountered */ virtual void InclusionDirective(SourceLocation, const Token &, StringRef, bool, CharSourceRange, const FileEntry *, StringRef, StringRef, const clang::Module *, - SrcMgr::CharacteristicKind) override; + SrcMgr::CharacteristicKind); private: @@ -272,4 +272,4 @@ class FuzzGenPreprocessor : public ASTFrontendAction { }; // ------------------------------------------------------------------------------------------------ -#endif \ No newline at end of file +#endif