mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-21 10:16:38 +00:00
I was looking at this due to the addition of more `GetAsTypeInstId(AddLoadedImportRef(` in #6344. Looking at `AddLoadedImportRef`, it also felt like the first declaration would be clearer if collapsed into its overload (the overload is the only caller). Note one benefit of using `ImportContext` in `AddLoadedImportRef` is being able to call `local_constant_values_for_import_insts` to handle the `GetRawIndex` code.