[Mlir-commits] [mlir] c8f09c1 - Apply clang-tidy fixes for llvm-qualified-auto in LowerToLLVM.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sat Oct 21 17:32:45 PDT 2023
Author: Mehdi Amini
Date: 2023-10-21T17:31:37-07:00
New Revision: c8f09c19b91cec4e5d745e71c2bac7cfadcca1d0
URL: https://github.com/llvm/llvm-project/commit/c8f09c19b91cec4e5d745e71c2bac7cfadcca1d0
DIFF: https://github.com/llvm/llvm-project/commit/c8f09c19b91cec4e5d745e71c2bac7cfadcca1d0.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in LowerToLLVM.cpp (NFC)
Added:
Modified:
mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
Removed:
################################################################################
diff --git a/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp b/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
index f05f1c2dc33881d..67b82f91b1dbd22 100644
--- a/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
+++ b/mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
@@ -61,7 +61,7 @@ class PrintOpLowering : public ConversionPattern {
LogicalResult
matchAndRewrite(Operation *op, ArrayRef<Value> operands,
ConversionPatternRewriter &rewriter) const override {
- auto context = rewriter.getContext();
+ auto *context = rewriter.getContext();
auto memRefType = llvm::cast<MemRefType>((*op->operand_type_begin()));
auto memRefShape = memRefType.getShape();
auto loc = op->getLoc();
More information about the Mlir-commits
mailing list