mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 18:46:43 +00:00
Delete unused ParamPatternInfo::GetNameId (#4942)
Perhaps GetPrettyName replaced all uses? As long as I'm here, also fix struct declaration order.
This commit is contained in:
1 parent
b628fd80ef
commit
0c37ce6908
3 files changed
+6
-13
No files matched your search
@@ -55,10 +55,6 @@ auto GetCalleeFunction(const File& sem_ir, InstId callee_id) -> CalleeFunction {
|
||||
return result;
|
||||
}
|
||||
|
||||
auto Function::ParamPatternInfo::GetNameId(const File& sem_ir) -> NameId {
|
||||
return sem_ir.entity_names().Get(entity_name_id).name_id;
|
||||
}
|
||||
|
||||
auto Function::GetParamPatternInfoFromPatternId(const File& sem_ir,
|
||||
InstId pattern_id)
|
||||
-> ParamPatternInfo {
|
||||
|
||||
Reference in new issue
Block a user