mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 07:46:43 +00:00
TypeIterator has both SymbolicType and SymbolicBinding and these overlap in their meaning. Clarify the API by removing SymbolicBinding and just using SymbolicType for `SymbolicBinding` insts and when they are converted to `type` to make a `SymbolicBindingType` inst. Add the EntityNameId to the SymbolicType for when it is available, when the instruction is just a simple reference to a binding. --------- Co-authored-by: Chandler Carruth <chandlerc@gmail.com>