[Mlir-commits] [mlir] [mlir-tblgen] Render enum keyword alternatives in generated attr/type docs (PR #203677)
Maksim Levental
llvmlistbot at llvm.org
Sat Jun 13 07:27:57 PDT 2026
makslevental wrote:
> LGTM from my end.
>
> Do you think there would be value in keep printing the enum type as well? E.g. `::mlir::ns::MyEnum {Value1 | Value2}`?
>
> This is a bit outside of may domain so let's @jpienaar give a chance to have a look.
This only affects the syntax inset so strictly speaking printing the cpp was always wrong and just a limitation of the implementation (`generate-doc`). As well the actual parameters table still does print (correctly) the cpp type. So no I don't think we should do both 🙂.
https://github.com/llvm/llvm-project/pull/203677
More information about the Mlir-commits
mailing list