[Mlir-commits] [clang] [llvm] [mlir] [Support] Validate number of arguments passed to formatv() (PR #105745)

Jacques Pienaar llvmlistbot at llvm.org
Thu Aug 29 07:09:55 PDT 2024


================
@@ -1654,12 +1654,12 @@ void OperationFormat::genElementParser(FormatElement *element, MethodBody &body,
           dir->shouldBeQualified() ? qualifiedTypeParserCode : typeParserCode;
       TypeSwitch<FormatElement *>(dir->getArg())
           .Case<OperandVariable, ResultVariable>([&](auto operand) {
-            body << formatv(parserCode,
+            body << formatv(false, parserCode,
----------------
jpienaar wrote:

OOC is validation false here as it would currently fail to validate?

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


More information about the Mlir-commits mailing list