[Mlir-commits] [mlir] [mlir][python] value casting (PR #69644)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Tue Oct 31 02:48:50 PDT 2023


================
@@ -2202,6 +2218,13 @@ class PyBlockArgumentList
                   step),
         operation(std::move(operation)), block(block) {}
 
+  pybind11::object getItem(intptr_t index) override {
+    auto item = this->SliceableT::getItem(index);
----------------
ftynse wrote:

Nit: is it possible to expand `auto` herea and below?

https://github.com/llvm/llvm-project/pull/69644


More information about the Mlir-commits mailing list