Skip to content

Commit 343476e

Browse files
committed
[MLIR] Apply clang-tidy fixes for readability-container-size-empty in LinalgTransformOps.cpp (NFC)
1 parent c218816 commit 343476e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2799,7 +2799,7 @@ SplitOp::apply(transform::TransformRewriter &rewriter,
27992799
}
28002800

28012801
opList.append(first);
2802-
if (second.size())
2802+
if (!second.empty())
28032803
opList.append(second);
28042804
}
28052805
results.set(cast<OpResult>(getSplitList()), opList);

0 commit comments

Comments
 (0)