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

Mehdi Amini llvmlistbot at llvm.org
Sun Jan 30 11:49:40 PST 2022


Author: Mehdi Amini
Date: 2022-01-30T19:49:22Z
New Revision: 3b3fbd56ec6bc4e6c283048c478a64f86302fa20

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

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

Added: 
    

Modified: 
    mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp b/mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
index 869037598b310..f403710437d27 100644
--- a/mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
+++ b/mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
@@ -47,7 +47,7 @@ constexpr const ::llvm::StringLiteral
 //===----------------------------------------------------------------------===//
 
 // Default constructor for BufferizationOptions.
-BufferizationOptions::BufferizationOptions() {}
+BufferizationOptions::BufferizationOptions() = default;
 
 BufferizableOpInterface
 BufferizationOptions::dynCastBufferizableOp(Operation *op) const {


        


More information about the Mlir-commits mailing list