Delete Function::ParamInfo::GetNameId (#4434)

No longer used as of #4422 .

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
This commit is contained in:
josh11b
2024-10-22 16:10:09 +00:00
committed by GitHub
co-authored by Josh L
parent c25177658a
commit 17bf9f1454
2 changed files with 2 additions and 16 deletions
-8
View File
@@ -113,14 +113,6 @@ auto Function::GetParamFromParamRefId(const File& sem_ir, InstId param_ref_id)
return {param_ref_id, ref.As<Param>(), bind_name};
}
auto Function::ParamInfo::GetNameId(const File& sem_ir) -> NameId {
if (bind_name) {
return sem_ir.entity_names().Get(bind_name->entity_name_id).name_id;
} else {
return NameId::Invalid;
}
}
auto Function::GetDeclaredReturnType(const File& file,
SpecificId specific_id) const -> TypeId {
if (!return_storage_id.is_valid()) {