Skip to content

Commit 12fd2a6

Browse files
committed
Fix auto
1 parent 6e84a91 commit 12fd2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/Dialect/Transforms/HoistAllocas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static void process(mlir::ModuleOp mod, cir::FuncOp func) {
4747

4848
mlir::Operation *insertPoint = &*entryBlock.begin();
4949

50-
for (auto alloca : allocas) {
50+
for (cir::AllocaOp alloca : allocas) {
5151
// Preserving the `const` attribute on hoisted allocas can cause LLVM to
5252
// incorrectly introduce invariant group metadata in some circumstances.
5353
// The incubator performs some analysis to determine whether the attribute

0 commit comments

Comments
 (0)