[Mlir-commits] [llvm] [mlir] [LLVM][TableGen] Change `RecordKeeper::getClass` to return const pointer (PR #112261)
Jakub Kuderski
llvmlistbot at llvm.org
Tue Oct 22 22:35:03 PDT 2024
https://github.com/kuhar commented:
I wonder if we should expand on the 'const correctness' coding style rules before propagating const across these APIs? IR constructs are not designed for [const correctness](https://mlir.llvm.org/docs/Rationale/UsageOfConst/).
In the past @Mogball argued that this was non-goal even for types outside of the core IR.
https://github.com/llvm/llvm-project/pull/112261
More information about the Mlir-commits
mailing list