[Mlir-commits] [llvm] [mlir] [MLIR] convert OpAsmDialectInterface using ODS (PR #171488)

Jacques Pienaar llvmlistbot at llvm.org
Thu Jan 29 04:10:17 PST 2026


================
@@ -104,6 +107,13 @@ static void emitInterfaceMethodsDef(const Interface &interface,
     ios << "virtual ";
     emitCPPType(method.getReturnType(), ios);
     emitMethodNameAndArgs(method, method.getName(), ios);
+
+    if (method.isDeclaration()) {
+      ios << ";\n";
+      continue;
+    }
+
+    // Otherwise it's a normal interface method
----------------
jpienaar wrote:

Could you reformulate to full sentence?

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


More information about the Mlir-commits mailing list