Skip to content

Commit 9871d72

Browse files
AmrDevelopergithub-actions[bot]
authored andcommitted
Automerge: [CIR] Follow up for addressing style comment (#132093)
Follow up PR to address style comment (llvm/llvm-project#131657 (comment))
2 parents 463500c + 7c64790 commit 9871d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::ConstArrayAttr attr) {
288288

289289
/// ZeroAttr visitor.
290290
mlir::Value CIRAttrToValue::visitCirAttr(cir::ZeroAttr attr) {
291-
auto loc = parentOp->getLoc();
291+
mlir::Location loc = parentOp->getLoc();
292292
return rewriter.create<mlir::LLVM::ZeroOp>(
293293
loc, converter->convertType(attr.getType()));
294294
}

0 commit comments

Comments
 (0)