Skip to content

Commit 7955478

Browse files
committed
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in IRTypes.cpp (NFC)
1 parent f80c05c commit 7955478

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)