diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -359,7 +359,7 @@ // A type that satisfies additional predicates. class ConfinedType predicates, string summary = "", - string cppClassName = "::mlir::Type"> : Type< + string cppClassName = type.cppClassName> : Type< And, summary, cppClassName>;