public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* TYPE_DECL nodes and what type they represent
@ 2009-04-24 15:37 David Philippi
  2009-04-24 19:42 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: David Philippi @ 2009-04-24 15:37 UTC (permalink / raw)
  To: gcc-help

Hello,

I'm somewhat at a loss with getting the type information out of TYPE_DECL 
nodes. From the comments in the code it seems like I should be able to 
identify not only the typedef name but also the original builtin / compound 
type which is the base for the typedef.
I've found the DECL_ORIGINAL_TYPE macro but I've not been able to get the type 
from its return value so far. Any pointers to documentation or code with nice 
comments about this would be welcome. The tree documentation in the wiki is 
nice but I couldn't find the required information there.

Bye,
David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-24 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 15:37 TYPE_DECL nodes and what type they represent David Philippi
2009-04-24 19:42 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).