Skip to content

Commit be6a8c5

Browse files
committed
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in Rewrite.cpp (NFC)
1 parent 590a073 commit be6a8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Bindings/Python/Rewrite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class PyFrozenRewritePatternSet {
127127
mlirPythonFrozenRewritePatternSetToCapsule(get()));
128128
}
129129

130-
static nb::object createFromCapsule(nb::object capsule) {
130+
static nb::object createFromCapsule(const nb::object &capsule) {
131131
MlirFrozenRewritePatternSet rawPm =
132132
mlirPythonCapsuleToFrozenRewritePatternSet(capsule.ptr());
133133
if (rawPm.ptr == nullptr)

0 commit comments

Comments
 (0)