Skip to content

Commit 4fe236f

Browse files
joker-ephgithub-actions[bot]
authored andcommitted
Automerge: [MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in Pass.cpp (NFC)
2 parents 1bd9bfc + a40a610 commit 4fe236f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Bindings/Python/Pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class PyPassManager {
3939
return nb::steal<nb::object>(mlirPythonPassManagerToCapsule(get()));
4040
}
4141

42-
static nb::object createFromCapsule(nb::object capsule) {
42+
static nb::object createFromCapsule(const nb::object &capsule) {
4343
MlirPassManager rawPm = mlirPythonCapsuleToPassManager(capsule.ptr());
4444
if (mlirPassManagerIsNull(rawPm))
4545
throw nb::python_error();

0 commit comments

Comments
 (0)