[all-commits] [llvm/llvm-project] e1bd39: [CIR] Disable gcc partially overloaded virtual war...
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Mon Mar 10 10:21:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1bd39c1733a40d4d46d1233566d8372125676bd
https://github.com/llvm/llvm-project/commit/e1bd39c1733a40d4d46d1233566d8372125676bd
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-03-10 (Mon, 10 Mar 2025)
Changed paths:
M clang/lib/CIR/CMakeLists.txt
M clang/tools/cir-opt/CMakeLists.txt
Log Message:
-----------
[CIR] Disable gcc partially overloaded virtual warning (#130322)
GCC, unlike clang, issues a warning when one virtual function is
overridden in a derived class but one or more other virtual functions
with the same name and different signature from a base class are not
overridden. This leads to many warnings in the MLIR and ClangIR code
when using the OpenConversionPattern<>::matchAndRewrite() function in
the ordinary way. The "hiding" behavior is what we want, so we're just
disabling the warning here.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list