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

Mehdi Amini llvmlistbot at llvm.org
Sun Nov 20 19:57:08 PST 2022


Author: Mehdi Amini
Date: 2022-11-21T03:56:48Z
New Revision: e836c077aadd661a88cfc872c89be94054708d49

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

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

Added: 
    

Modified: 
    mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp b/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
index 36a7a3c9eadb5..3ed9785504c54 100644
--- a/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
+++ b/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
@@ -41,7 +41,7 @@ namespace {
 
 struct TosaValidation : public tosa::impl::TosaValidationBase<TosaValidation> {
 public:
-  explicit TosaValidation() {}
+  explicit TosaValidation() = default;
 
 private:
   void runOnOperation() override;


        


More information about the Mlir-commits mailing list