From b3891f28a31248de264741d70401c42c969b284b Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sun, 26 Sep 2021 22:01:19 +0000 Subject: [PATCH] Fix ClangTidyLegacy warning: "'virtual' is redundant since the function is already declared 'final' " (NFC) --- mlir/test/lib/Dialect/Test/TestDialect.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mlir/test/lib/Dialect/Test/TestDialect.cpp b/mlir/test/lib/Dialect/Test/TestDialect.cpp index e061f5e..5fc3bdb 100644 --- a/mlir/test/lib/Dialect/Test/TestDialect.cpp +++ b/mlir/test/lib/Dialect/Test/TestDialect.cpp @@ -210,8 +210,7 @@ public: TestReductionPatternInterface(Dialect *dialect) : DialectReductionPatternInterface(dialect) {} - virtual void - populateReductionPatterns(RewritePatternSet &patterns) const final { + void populateReductionPatterns(RewritePatternSet &patterns) const final { populateTestReductionPatterns(patterns); } }; -- 2.7.4