mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
(and 'La'...'Lj') Use this for the synthesized structs for error enums, as described in the previous commit, instead of reusing the "private discriminator" feature. I left some space in the APIs for "related entity kinds" that are longer than a single character, but I don't actually expect to use it any time soon. It's mostly just easier to deal with StringRef than with a bare char. Note that this doesn't perfectly round-trip to the old mangling; I had it treat these nodes as private discriminators with a prefixed "$" instead. We don't depend on that for anything, though.