We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f80c05c commit 7955478Copy full SHA for 7955478
mlir/lib/Bindings/Python/IRTypes.cpp
@@ -963,7 +963,7 @@ class PyOpaqueType : public PyConcreteType<PyOpaqueType> {
963
static void bindDerived(ClassTy &c) {
964
c.def_static(
965
"get",
966
- [](std::string dialectNamespace, std::string typeData,
+ [](const std::string &dialectNamespace, const std::string &typeData,
967
DefaultingPyMlirContext context) {
968
MlirType type = mlirOpaqueTypeGet(context->get(),
969
toMlirStringRef(dialectNamespace),
0 commit comments