Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 0de0351

Browse files
joker-ephbump-llvm[bot]
authored andcommitted
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in IRTypes.cpp (NFC)
1 parent ada9b52 commit 0de0351

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)