Add a read-only loc property to Operation and OpView
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks! A couple of naming nits.
mlir/include/mlir-c/IR.h | ||
---|---|---|
361 | We tend to use full words in C API (and in Python below), so mlirOperationGetLocation. | |
mlir/lib/Bindings/Python/IRCore.cpp | ||
2147 | "location" please. | |
2149 | Please expand auto. We use auto when the type is obvious from context or excessively long to spell out. |
We tend to use full words in C API (and in Python below), so mlirOperationGetLocation.