Apply clang-tidy fixes for modernize-use-equals-default in TestPatterns.cpp (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Mon, 29 Aug 2022 11:57:50 +0000 (11:57 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 12 Sep 2022 10:46:01 +0000 (10:46 +0000)
mlir/test/lib/Dialect/Test/TestPatterns.cpp

index d23f69d..d3fe515 100644 (file)
@@ -183,8 +183,7 @@ public:
   MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestStrictPatternDriver)
 
   TestStrictPatternDriver() = default;
-  TestStrictPatternDriver(const TestStrictPatternDriver &other)
-      : PassWrapper(other) {}
+  TestStrictPatternDriver(const TestStrictPatternDriver &other) = default;
 
   StringRef getArgument() const final { return "test-strict-pattern-driver"; }
   StringRef getDescription() const final {