Re: Regarding tree traversal

2007-02-07 Thread Prabhanjan Kambadur
Yup, what you answered is indeed what I want Thanks, Anju

Re: Regarding tree traversal

2007-02-07 Thread Mike Stump
On Feb 7, 2007, at 1:05 PM, Prabhanjan Kambadur wrote: 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 sea

Re: Regarding tree traversal

2007-02-07 Thread Mike Stump
On Feb 7, 2007, at 1:05 PM, Prabhanjan Kambadur wrote: I am trying to check if two types are equal equal, what's that? :-) (That's a joke for the rest of the folks here. See the CANONICAL types work that Doug did recently for some of the more recent email threads.) One of the types is

Regarding tree traversal

2007-02-07 Thread Prabhanjan Kambadur
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 th