Rename the ImportRefs block to Imports (#5618)

I've been mulling the name of this, changing it and updating comments to
try and better reflect the current semantic. "Imports" reflects how
we're currently printing this in SemIR.
This commit is contained in:
Jon Ross-Perkins authored and GitHub committed 2025-06-05 21:24:58 +00:00
1 parent 9b1a0729a1
commit 1e9e148c3b
18 files changed
+46 -47

No files matched your search

+2 -2
View File
@@ -590,8 +590,8 @@ auto CheckUnit::FinishRun() -> void {
context_.inst_blocks().ReplacePlaceholder(SemIR::InstBlockId::Exports,
context_.exports());
// Finalizes the ImportRef inst block.
context_.inst_blocks().ReplacePlaceholder(SemIR::InstBlockId::ImportRefs,
context_.import_ref_ids());
context_.inst_blocks().ReplacePlaceholder(SemIR::InstBlockId::Imports,
context_.imports());
// Finalizes __global_init.
context_.global_init().Finalize();