mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 11:15:49 +01:00
Remove outdated comment about generic vtable inst naming (#5814)
Since vtables are generic over the class's specific, they don't have their own generic/specific ids and so there's no generic insts that need naming.
This commit is contained in:
@@ -134,8 +134,6 @@ InstNamer::InstNamer(const File* sem_ir) : sem_ir_(sem_ir) {
|
||||
GetScopeInfo(vtable_scope).name = globals_.AllocateName(
|
||||
*this, vtable_loc,
|
||||
sem_ir->names().GetIRBaseName(class_info.name_id).str() + ".vtable");
|
||||
// TODO: Add support for generic vtables here and elsewhere.
|
||||
// CollectNamesInGeneric(vtable_scope, vtable_info.generic_id);
|
||||
}
|
||||
|
||||
// Build each interface scope.
|
||||
|
||||
Reference in New Issue
Block a user