This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Regarding tree traversal
- From: "Prabhanjan Kambadur" <pkambadu at osl dot iu dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 7 Feb 2007 16:05:23 -0500
- Subject: Regarding tree traversal
I am new to this list, so please excuse any obvious mistakes. I am
trying to check if two types are equal or one is derived from the
other within the compiler. One of the types is a struct that is
defined under the std namescope. How do I search for a "node" that is
a TYPE_DECL of the structure that I want? I would like to search for
the TYPE_DECL of "struct foo" in the tree std_node.
Regards,
Anju
--
This too shall pass