Apply clang-tidy fixes for bugprone-copy-constructor-init in TestPatterns.cpp (NFC)

This commit is contained in:
Mehdi Amini
2023-10-20 12:34:07 -07:00
parent 66d8377dbd
commit 6f469d6004

View File

@@ -360,7 +360,8 @@ public:
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestStrictPatternDriver)
TestStrictPatternDriver() = default;
TestStrictPatternDriver(const TestStrictPatternDriver &other) {
TestStrictPatternDriver(const TestStrictPatternDriver &other)
: PassWrapper(other) {
strictMode = other.strictMode;
}