[Mlir-commits] [mlir] 6f469d6 - Apply clang-tidy fixes for bugprone-copy-constructor-init in TestPatterns.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Feb 19 16:41:48 PST 2024
Author: Mehdi Amini
Date: 2024-02-19T16:41:28-08:00
New Revision: 6f469d60046049edd33eaa02e6a4be074c94a7f5
URL: https://github.com/llvm/llvm-project/commit/6f469d60046049edd33eaa02e6a4be074c94a7f5
DIFF: https://github.com/llvm/llvm-project/commit/6f469d60046049edd33eaa02e6a4be074c94a7f5.diff
LOG: Apply clang-tidy fixes for bugprone-copy-constructor-init in TestPatterns.cpp (NFC)
Added:
Modified:
mlir/test/lib/Dialect/Test/TestPatterns.cpp
Removed:
################################################################################
diff --git a/mlir/test/lib/Dialect/Test/TestPatterns.cpp b/mlir/test/lib/Dialect/Test/TestPatterns.cpp
index 1c02232b8adbb1..17b2f29c45dbc9 100644
--- a/mlir/test/lib/Dialect/Test/TestPatterns.cpp
+++ b/mlir/test/lib/Dialect/Test/TestPatterns.cpp
@@ -360,7 +360,8 @@ struct TestStrictPatternDriver
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestStrictPatternDriver)
TestStrictPatternDriver() = default;
- TestStrictPatternDriver(const TestStrictPatternDriver &other) {
+ TestStrictPatternDriver(const TestStrictPatternDriver &other)
+ : PassWrapper(other) {
strictMode = other.strictMode;
}
More information about the Mlir-commits
mailing list