[Mlir-commits] [mlir] Enable printing newlines and indents in attribute and type printers (PR #87948)

Jacques Pienaar llvmlistbot at llvm.org
Wed Dec 31 03:35:37 PST 2025


================
@@ -583,3 +583,30 @@ ::mlir::LogicalResult TestTensorType::verifyCompatibleBufferType(
 
   return emitError() << "expected MemRefType or TestMemrefType";
 }
+
+//===----------------------------------------------------------------------===//
+// TestTypeNewlineAndIndent
+//===----------------------------------------------------------------------===//
+
+Type TestTypeNewlineAndIndentType::parse(::mlir::AsmParser &parser) {
+  if (parser.parseLess()) {
----------------
jpienaar wrote:

same

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


More information about the Mlir-commits mailing list