mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:00:12 +01:00
Updates `SemIR::Function::GetParamFromParamRefId` to return more information in the form of a new `ParamInfo` struct. This struct has a method for getting the `NameId` from the name binding instruction. The callers previously got it from the `Param` instruction, but the plan is for that instruction to no longer be associated with a name. --------- Co-authored-by: Josh L <josh11b@users.noreply.github.com> Co-authored-by: Geoff Romer <gromer@google.com>