[Prev][Next][Index]
Re: Distinguishing a structure from a typedef
- To: Diego Novillo <diego@cs.ualberta.ca>
- Cc: sage-bugs@cica.indiana.edu
- Subject: Re: Distinguishing a structure from a typedef
- In-Reply-To: Your message of "Tue, 11 Oct 1994 23:06:31 MDT."
<Pine.SUN.3.90.941011225308.277B-100000@sundance.cs.ualberta.ca>
- Date: Wed, 12 Oct 1994 15:47:26 -0500
- From: Andrew Mauer <mauer@mcs.anl.gov>
>
> I tried using other approaches like using SgType::baseType() and
> SgType::getTrueType() but I couldn't get them to work. Does anyone has
> any suggestion on a better way of doing this?
What about the true type approach did not work? It seems to me that if
you get true type (mask all descriptors, follow typedefs), you should
end up with an integer type for a and a bare structure typedef for b.
Is this not what happens?
[Isn't the end result for a struct a T_STRUCT or something? I'm not
very familiar with this stuff.]
/Andrew/
Follow-Up(s):