Remove excess use of auto on initializers (auto x = Y(z) -> Y x(z)) (#4239)

This commit is contained in:
David Blaikie
2024-08-22 20:29:35 +00:00
committed by GitHub
parent 1e1034ee81
commit a17480133f
9 changed files with 23 additions and 24 deletions
+2 -2
View File
@@ -2059,9 +2059,9 @@ auto ImportImpls(Context& context) -> void {
continue;
}
auto import_ir_id = SemIR::ImportIRId(import_index);
SemIR::ImportIRId import_ir_id(import_index);
for (auto impl_index : llvm::seq(import_ir.sem_ir->impls().size())) {
auto impl_id = SemIR::ImplId(impl_index);
SemIR::ImplId impl_id(impl_index);
ImportImpl(context, import_ir_id, *import_ir.sem_ir, impl_id);
}
}