[Mlir-commits] [mlir] ceefc26 - Apply clang-tidy fixes for llvm-qualified-auto in ConvertShapeConstraints.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Mon Apr 11 16:15:11 PDT 2022


Author: Mehdi Amini
Date: 2022-04-11T23:14:46Z
New Revision: ceefc26145d32150b513fb18b75dcb5252359fe9

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

LOG: Apply clang-tidy fixes for llvm-qualified-auto in ConvertShapeConstraints.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp b/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp
index fb7112699a2b9..60d1775a3f634 100644
--- a/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp
+++ b/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp
@@ -51,7 +51,7 @@ namespace {
 class ConvertShapeConstraints
     : public ConvertShapeConstraintsBase<ConvertShapeConstraints> {
   void runOnOperation() override {
-    auto func = getOperation();
+    auto *func = getOperation();
     auto *context = &getContext();
 
     RewritePatternSet patterns(context);


        


More information about the Mlir-commits mailing list