[Mlir-commits] [mlir] 6e32535 - Apply clang-tidy fixes for bugprone-argument-comment in AffineOps.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Thu May 5 22:40:31 PDT 2022


Author: Mehdi Amini
Date: 2022-05-06T05:40:02Z
New Revision: 6e32535078b4f1ccb1635054af171b5d2de79893

URL: https://github.com/llvm/llvm-project/commit/6e32535078b4f1ccb1635054af171b5d2de79893
DIFF: https://github.com/llvm/llvm-project/commit/6e32535078b4f1ccb1635054af171b5d2de79893.diff

LOG: Apply clang-tidy fixes for bugprone-argument-comment in AffineOps.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Dialect/Affine/IR/AffineOps.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
index 2fb385dd94c6f..5e33d0ce03f2a 100644
--- a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+++ b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
@@ -1550,7 +1550,7 @@ unsigned AffineForOp::getNumIterOperands() {
 
 void AffineForOp::print(OpAsmPrinter &p) {
   p << ' ';
-  p.printRegionArgument(getBody()->getArgument(0), /*argAtrs=*/{},
+  p.printRegionArgument(getBody()->getArgument(0), /*argAttrs=*/{},
                         /*omitType=*/true);
   p << " = ";
   printBound(getLowerBoundMapAttr(), getLowerBoundOperands(), "max", p);


        


More information about the Mlir-commits mailing list