[Mlir-commits] [mlir] fca7230 - Apply clang-tidy fixes for modernize-use-equals-default in TestLinalgDropUnitDims.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sat Feb 17 14:05:23 PST 2024


Author: Mehdi Amini
Date: 2024-02-17T14:05:03-08:00
New Revision: fca72306757aa03d0a25608f307667e6e769b69c

URL: https://github.com/llvm/llvm-project/commit/fca72306757aa03d0a25608f307667e6e769b69c
DIFF: https://github.com/llvm/llvm-project/commit/fca72306757aa03d0a25608f307667e6e769b69c.diff

LOG: Apply clang-tidy fixes for modernize-use-equals-default in TestLinalgDropUnitDims.cpp (NFC)

Added: 
    

Modified: 
    mlir/test/lib/Dialect/Linalg/TestLinalgDropUnitDims.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/test/lib/Dialect/Linalg/TestLinalgDropUnitDims.cpp b/mlir/test/lib/Dialect/Linalg/TestLinalgDropUnitDims.cpp
index decee8eda3be5b..85a6d5f9d9215c 100644
--- a/mlir/test/lib/Dialect/Linalg/TestLinalgDropUnitDims.cpp
+++ b/mlir/test/lib/Dialect/Linalg/TestLinalgDropUnitDims.cpp
@@ -34,8 +34,7 @@ struct TestLinalgDropUnitDims
   MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestLinalgDropUnitDims)
 
   TestLinalgDropUnitDims() = default;
-  TestLinalgDropUnitDims(const TestLinalgDropUnitDims &pass)
-      : PassWrapper(pass) {}
+  TestLinalgDropUnitDims(const TestLinalgDropUnitDims &pass) = default;
 
   void getDependentDialects(DialectRegistry &registry) const override {
     registry.insert<linalg::LinalgDialect>();


        


More information about the Mlir-commits mailing list