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 0d10903 commit b1d682eCopy full SHA for b1d682e
mlir/lib/Bindings/Python/IRCore.cpp
@@ -3312,9 +3312,9 @@ void mlir::python::populateIRCore(py::module &m) {
3312
.def_property_readonly(
3313
"ref_operation",
3314
[](PyInsertionPoint &self) -> py::object {
3315
- auto ref_operation = self.getRefOperation();
3316
- if (ref_operation)
3317
- return ref_operation->getObject();
+ auto refOperation = self.getRefOperation();
+ if (refOperation)
+ return refOperation->getObject();
3318
return py::none();
3319
},
3320
"The reference operation before which new operations are "
0 commit comments