finding an original typedef decl from a reference
IainS
developer@sandoe-acoustics.co.uk
Mon Apr 19 13:09:00 GMT 2010
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...?
Iain
More information about the Gcc
mailing list