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: gcc-in-cxx: Garbage Collecting STL Containers


On Wed, Jun 25, 2008 at 10:49 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
>
>>> On Wed, Jun 25, 2008 at 08:35:41AM -0600, Tom Tromey wrote:
>>> I think most of the needed changes will be in gengtype.  If you aren't
>>> familiar with what this does, read gcc/doc/gty.texi.
>
> Daniel> Also - I may regret saying this but - doesn't gengtype have a
> Daniel> simplistic C parser in it?  How upset is it likely to get on C++
> Daniel> input?
>
> Yeah, it does -- see gengtype-parse.c.
> I haven't done extensive hacking there; I don't really know how upset
> it will be.  I assume it won't work the first time :)

It turns out that we already have a parser capable of handling C++...
why not just build gengtype on top of the C++ front end?

  - Doug


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