[Mlir-commits] [mlir] 1b900b0 - Apply clang-tidy fixes for bugprone-copy-constructor-init in TestLinalgDecomposeOps.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sun Nov 27 10:51:43 PST 2022
Author: Mehdi Amini
Date: 2022-11-27T18:51:09Z
New Revision: 1b900b017b77780ae6420c3629bf82729d3fdc21
URL: https://github.com/llvm/llvm-project/commit/1b900b017b77780ae6420c3629bf82729d3fdc21
DIFF: https://github.com/llvm/llvm-project/commit/1b900b017b77780ae6420c3629bf82729d3fdc21.diff
LOG: Apply clang-tidy fixes for bugprone-copy-constructor-init in TestLinalgDecomposeOps.cpp (NFC)
Added:
Modified:
mlir/test/lib/Dialect/Linalg/TestLinalgDecomposeOps.cpp
Removed:
################################################################################
diff --git a/mlir/test/lib/Dialect/Linalg/TestLinalgDecomposeOps.cpp b/mlir/test/lib/Dialect/Linalg/TestLinalgDecomposeOps.cpp
index e0743db1e6f7..99d254eb32d4 100644
--- a/mlir/test/lib/Dialect/Linalg/TestLinalgDecomposeOps.cpp
+++ b/mlir/test/lib/Dialect/Linalg/TestLinalgDecomposeOps.cpp
@@ -23,7 +23,8 @@ struct TestLinalgDecomposeOps
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestLinalgDecomposeOps)
TestLinalgDecomposeOps(){};
- TestLinalgDecomposeOps(const TestLinalgDecomposeOps &pass){};
+ TestLinalgDecomposeOps(const TestLinalgDecomposeOps &pass)
+ : PassWrapper(pass){};
void getDependentDialects(DialectRegistry ®istry) const override {
registry.insert<AffineDialect, linalg::LinalgDialect>();
}
More information about the Mlir-commits
mailing list