[Mlir-commits] [mlir] b3891f2 - Fix ClangTidyLegacy warning: "'virtual' is redundant since the function is already declared 'final' " (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sun Sep 26 15:02:32 PDT 2021
Author: Mehdi Amini
Date: 2021-09-26T22:02:23Z
New Revision: b3891f28a31248de264741d70401c42c969b284b
URL: https://github.com/llvm/llvm-project/commit/b3891f28a31248de264741d70401c42c969b284b
DIFF: https://github.com/llvm/llvm-project/commit/b3891f28a31248de264741d70401c42c969b284b.diff
LOG: Fix ClangTidyLegacy warning: "'virtual' is redundant since the function is already declared 'final' " (NFC)
Added:
Modified:
mlir/test/lib/Dialect/Test/TestDialect.cpp
Removed:
################################################################################
diff --git a/mlir/test/lib/Dialect/Test/TestDialect.cpp b/mlir/test/lib/Dialect/Test/TestDialect.cpp
index e061f5ebd396a..5fc3bdb401072 100644
--- a/mlir/test/lib/Dialect/Test/TestDialect.cpp
+++ b/mlir/test/lib/Dialect/Test/TestDialect.cpp
@@ -210,8 +210,7 @@ struct TestReductionPatternInterface : public DialectReductionPatternInterface {
TestReductionPatternInterface(Dialect *dialect)
: DialectReductionPatternInterface(dialect) {}
- virtual void
- populateReductionPatterns(RewritePatternSet &patterns) const final {
+ void populateReductionPatterns(RewritePatternSet &patterns) const final {
populateTestReductionPatterns(patterns);
}
};
More information about the Mlir-commits
mailing list