On Mon, Apr 19, 2010 at 3:03 PM, IainS <develo...@sandoe-acoustics.co.uk> wrote: > > consider : > > typedef int INT1 ; > > int func (INT1 x) ; > > ---- > > now if I am in grokparms() parsing "INT1 x " and I want to issue a nice > diagnostic for x... > > I can't seem to find the right magic that gets me back to that DECL for INT1 > (I actually want any attributes attached to it and an expand_location).. > > any pointers to the correct macro or chain to follow...?
TYPE_NAME will be a TYPE_DECL. Richard. > Iain > >