Re: Fwd: Assertion failure when mangling complex decltype
The mangler is only designed to produce mangled names for declarations that have symbols. You cannot expect to be able to pass other declarations to it and get a meaningful result back (or even for it to not crash).
If you want a unique identifier for an arbitrary declaration for some reason, USRs may be a better fit.
On Mon, 28 Jan 2019, 05:28 Ding Fei via cfe-dev, <[hidden email]> wrote: