[Mlir-commits] [mlir] 7098687 - Apply clang-tidy fixes for readability-identifier-naming in OpFormatGen.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Fri Apr 15 23:36:34 PDT 2022


Author: Mehdi Amini
Date: 2022-04-16T06:36:12Z
New Revision: 709868707ca76002f3dc858e2300d3ca13eaf409

URL: https://github.com/llvm/llvm-project/commit/709868707ca76002f3dc858e2300d3ca13eaf409
DIFF: https://github.com/llvm/llvm-project/commit/709868707ca76002f3dc858e2300d3ca13eaf409.diff

LOG: Apply clang-tidy fixes for readability-identifier-naming in OpFormatGen.cpp (NFC)

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 77d40f1dc0f10..43a16f554308d 100644
--- a/mlir/tools/mlir-tblgen/OpFormatGen.cpp
+++ b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
@@ -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);
       });
 }
 


        


More information about the Mlir-commits mailing list