[Mlir-commits] [mlir] cde2736 - Apply clang-tidy fixes for modernize-use-equals-default in TestPatterns.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Sep 12 03:47:20 PDT 2022
Author: Mehdi Amini
Date: 2022-09-12T10:46:01Z
New Revision: cde2736cdf960e94b27115ef2827bb5f770e6ab7
URL: https://github.com/llvm/llvm-project/commit/cde2736cdf960e94b27115ef2827bb5f770e6ab7
DIFF: https://github.com/llvm/llvm-project/commit/cde2736cdf960e94b27115ef2827bb5f770e6ab7.diff
LOG: Apply clang-tidy fixes for modernize-use-equals-default 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 d23f69ded8f99..d3fe5156d4d9f 100644
--- a/mlir/test/lib/Dialect/Test/TestPatterns.cpp
+++ b/mlir/test/lib/Dialect/Test/TestPatterns.cpp
@@ -183,8 +183,7 @@ struct TestStrictPatternDriver
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 {
More information about the Mlir-commits
mailing list