[Mlir-commits] [mlir] f829d62 - Apply clang-tidy fixes for modernize-use-default-member-init to MLIR ReductionNode.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sun Jan 2 14:18:36 PST 2022


Author: Mehdi Amini
Date: 2022-01-02T22:18:21Z
New Revision: f829d62c219c6b880f0106a4a75c0f8640fcfe54

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

LOG: Apply clang-tidy fixes for modernize-use-default-member-init to MLIR ReductionNode.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Reducer/ReductionNode.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Reducer/ReductionNode.cpp b/mlir/lib/Reducer/ReductionNode.cpp
index 9f0f461d676e7..83892be4d4f54 100644
--- a/mlir/lib/Reducer/ReductionNode.cpp
+++ b/mlir/lib/Reducer/ReductionNode.cpp
@@ -28,8 +28,7 @@ ReductionNode::ReductionNode(
     llvm::SpecificBumpPtrAllocator<ReductionNode> &allocator)
     /// Root node will have the parent pointer point to themselves.
     : parent(parentNode == nullptr ? this : parentNode),
-      size(std::numeric_limits<size_t>::max()),
-      interesting(Tester::Interestingness::Untested), ranges(ranges),
+      size(std::numeric_limits<size_t>::max()), ranges(ranges),
       startRanges(ranges), allocator(allocator) {
   if (parent != this)
     if (failed(initialize(parent->getModule(), parent->getRegion())))


        


More information about the Mlir-commits mailing list