Ok, here is somewhat addition to D6217 aiming to preserve old darwin behavior wrt the typedefed types. The actual change to SemaChecking turned out to be pretty gross, in particular:
- We need to extract the typedef'ed type for proper diagnostics
- We need to walk over paren expressions as well
I would be surprised if all our supported compilers cope with this syntax. Happily surprised, but surprised nonetheless.