Skip to content

Commit 7c64790

Browse files
authored
[CIR] Follow up for addressing style comment (#132093)
Follow up PR to address style comment (#131657 (comment))
1 parent 0e6ea09 commit 7c64790

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)