Apply clang-tidy fixes for readability-identifier-naming in OpFormatGen.cpp (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Mon, 4 Apr 2022 00:32:38 +0000 (00:32 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 16 Apr 2022 06:36:12 +0000 (06:36 +0000)
mlir/tools/mlir-tblgen/OpFormatGen.cpp

index 77d40f1..43a16f5 100644 (file)
@@ -1892,8 +1892,8 @@ void collect(FormatElement *element,
       })
       .Case([&](OIListElement *oilist) {
         for (ArrayRef<FormatElement *> arg : oilist->getParsingElements())
-          for (FormatElement *arg_ : arg)
-            collect(arg_, variables);
+          for (FormatElement *arg : arg)
+            collect(arg, variables);
       });
 }