Skip to content

Commit 22342a7

Browse files
joker-ephgithub-actions[bot]
authored andcommitted
Automerge: [MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in IRTypes.cpp (NFC)
2 parents f30b22c + 7955478 commit 22342a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Bindings/Python/IRTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ class PyOpaqueType : public PyConcreteType<PyOpaqueType> {
963963
static void bindDerived(ClassTy &c) {
964964
c.def_static(
965965
"get",
966-
[](std::string dialectNamespace, std::string typeData,
966+
[](const std::string &dialectNamespace, const std::string &typeData,
967967
DefaultingPyMlirContext context) {
968968
MlirType type = mlirOpaqueTypeGet(context->get(),
969969
toMlirStringRef(dialectNamespace),

0 commit comments

Comments
 (0)