https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/132093
Follow up PR to address style comment (https://github.com/llvm/llvm-project/pull/131657#discussion_r2004197917) >From 04499c516d36a84a632e58e64a9800af1bdfbc4c Mon Sep 17 00:00:00 2001 From: AmrDeveloper <am...@programmer.net> Date: Wed, 19 Mar 2025 21:33:55 +0100 Subject: [PATCH] [CIR] Follow up for addressing style comment --- clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp b/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp index 83226ed8680bb..9a3f956ecbebe 100644 --- a/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp +++ b/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp @@ -288,7 +288,7 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::ConstArrayAttr attr) { /// ZeroAttr visitor. mlir::Value CIRAttrToValue::visitCirAttr(cir::ZeroAttr attr) { - auto loc = parentOp->getLoc(); + mlir::Location loc = parentOp->getLoc(); return rewriter.create<mlir::LLVM::ZeroOp>( loc, converter->convertType(attr.getType())); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits