Expose the nameloc getter to Python API.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Bindings/Python/IRCore.cpp | ||
---|---|---|
1989 | Nit: maybe using childLoc ? childLoc->get() : mlirLocationUnknownGet(context->get()) as the last argument for mlirLocationNameGet would make this more concise. |
Nit: maybe using childLoc ? childLoc->get() : mlirLocationUnknownGet(context->get()) as the last argument for mlirLocationNameGet would make this more concise.