This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gengtype and inheritance


On Wed, Apr 3, 2013 at 3:22 PM, David Malcolm <dmalcolm@redhat.com> wrote:

> For reference, these docs are:
>  http://gcc.gnu.org/onlinedocs/gccint/User-GC.html#User-GC

Thanks.

> (It seems a shame that one has to write 3 almost-identical functions; I
> wonder if there's a clean way of writing the traversal code only once)

Yes.  PCH needs are slightly different.  At least we don't need the
tags anymore.  Those are a big nuisance to provide outside of
gengtype.

I have not looked into merging them, but it may not be a big job.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]