[clang] 758f51c - Speculatively fix a -Woverloaded-virtual diagnostic; NFC
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu May 27 06:49:47 PDT 2021
Author: Aaron Ballman
Date: 2021-05-27T09:49:39-04:00
New Revision: 758f51c14ac3d4f243fce83e9733e2aea44dbd9e
URL: https://github.com/llvm/llvm-project/commit/758f51c14ac3d4f243fce83e9733e2aea44dbd9e
DIFF: https://github.com/llvm/llvm-project/commit/758f51c14ac3d4f243fce83e9733e2aea44dbd9e.diff
LOG: Speculatively fix a -Woverloaded-virtual diagnostic; NFC
Added:
Modified:
clang/include/clang/Lex/PreprocessingRecord.h
Removed:
################################################################################
diff --git a/clang/include/clang/Lex/PreprocessingRecord.h b/clang/include/clang/Lex/PreprocessingRecord.h
index 52f1ec9e59bb..54489cb3a564 100644
--- a/clang/include/clang/Lex/PreprocessingRecord.h
+++ b/clang/include/clang/Lex/PreprocessingRecord.h
@@ -538,6 +538,8 @@ class Token;
const MacroDefinition &MD) override;
void Ifndef(SourceLocation Loc, const Token &MacroNameTok,
const MacroDefinition &MD) override;
+
+ using PPCallbacks::Elifdef, PPCallback::Elifndef;
void Elifdef(SourceLocation Loc, const Token &MacroNameTok,
const MacroDefinition &MD) override;
void Elifndef(SourceLocation Loc, const Token &MacroNameTok,
More information about the cfe-commits
mailing list