[Mlir-commits] [mlir] [mlir] Add OpAsmTypeInterface for pretty-print (PR #121187)

Jacques Pienaar llvmlistbot at llvm.org
Mon Jan 13 19:25:38 PST 2025


================
@@ -398,4 +398,8 @@ def TestTypeVerification : Test_Type<"TestTypeVerification"> {
   let assemblyFormat = "`<` $param `>`";
 }
 
+def TestTypeOpAsmTypeInterface : Test_Type<"TestTypeOpAsmTypeInterface", [DeclareTypeInterfaceMethods<OpAsmTypeInterface, ["getAsmName"]>]> {
----------------
jpienaar wrote:

Nit: break the line to avoid it going too long

```
def TestTypeOpAsmTypeInterface : Test_Type<"TestTypeOpAsmTypeInterface",
   [DeclareTypeInterfaceMethods<OpAsmTypeInterface, ["getAsmName"]>]> {


https://github.com/llvm/llvm-project/pull/121187


More information about the Mlir-commits mailing list