[Mlir-commits] [mlir] 95597e9 - [mlir] Fix typo in parameter name annotation.

Adrian Kuegel llvmlistbot at llvm.org
Mon Sep 26 01:28:05 PDT 2022


Author: Adrian Kuegel
Date: 2022-09-26T10:26:51+02:00
New Revision: 95597e9b6657cfd529cb66da81d893585ed4e8f7

URL: https://github.com/llvm/llvm-project/commit/95597e9b6657cfd529cb66da81d893585ed4e8f7
DIFF: https://github.com/llvm/llvm-project/commit/95597e9b6657cfd529cb66da81d893585ed4e8f7.diff

LOG: [mlir] Fix typo in parameter name annotation.

Found by ClangTidy.

Added: 
    

Modified: 
    mlir/tools/mlir-tblgen/OpFormatGen.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/tools/mlir-tblgen/OpFormatGen.cpp b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
index 262125e65e5b2..83d6794e730ef 100644
--- a/mlir/tools/mlir-tblgen/OpFormatGen.cpp
+++ b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
@@ -1187,7 +1187,7 @@ void OperationFormat::genElementParser(FormatElement *element, MethodBody &body,
     if (!elseElements.empty()) {
       body << " else {\n";
       ArrayRef<FormatElement *> elseElements =
-          optional->getElseElements(/*parsable=*/true);
+          optional->getElseElements(/*parseable=*/true);
       genElementParsers(elseElements.front(), elseElements,
                         /*thenGroup=*/false);
       body << "  }";


        


More information about the Mlir-commits mailing list