[Mlir-commits] [mlir] [mlir][ODS] Verify type constraints in Types and Attributes (PR #102326)
Matthias Springer
llvmlistbot at llvm.org
Thu Aug 8 02:29:48 PDT 2024
================
@@ -153,6 +153,9 @@ class TypeConstraint<Pred predicate, string summary = "",
Constraint<predicate, summary> {
// The name of the C++ Type class if known, or Type if not.
string cppClassName = cppClassNameParam;
+ // TODO: This field is sometimes called `cppClassName` and sometimes
----------------
matthias-springer wrote:
My plan is to go through the `.td` files in a follow-up commit and make sure that we use `cppClassName` everywhere. Then we don't need an extra switch in the C++ code and this TODO can be removed again.
https://github.com/llvm/llvm-project/pull/102326
More information about the Mlir-commits
mailing list