location -> loc abbreviation (#3826)

This commit is contained in:
Jon Ross-Perkins authored and GitHub committed 2024-03-28 18:15:18 +00:00
1 parent 72564a08d4
commit b5d28f2c4b
48 files changed
+341 -373

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ auto BuildAssociatedEntity(Context& context, SemIR::InterfaceId interface_id,
// not the declaration itself.
auto type_id = context.GetAssociatedEntityType(
interface_id, context.insts().Get(decl_id).type_id());
return context.AddInst({context.insts().GetLocationId(decl_id),
return context.AddInst({context.insts().GetLocId(decl_id),
SemIR::AssociatedEntity{type_id, index, decl_id}});
}