This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
c++ stub generator
- From: "Ivan Rachev" <ivanr at syncad dot com>
- To: <gcc at gcc dot gnu dot org>, <gcc at gnu dot org>
- Date: Tue, 4 Jan 2005 15:08:50 +0200
- Subject: c++ stub generator
Hi,
I would like to try building a c++ stub generator which to be added to
http://cppunit.sourceforge.net. Input to the generator would be a header
with declarations and output would be a cpp file with empty definitions.
My primary concern is if I could use some parts of gcc c++ compiler to do
this. Probably the lexical analyser, the preprocessor and the structures for
trees. Any link or comment on how these are implemented would be of great
help. Something different from
http://gcc.gnu.org/onlinedocs/gccint/Passes.html#Passes would be better as
the doc on this link says it is "no where near complete".
Thanks in advance.
Ivan Rachev
ivanr[AT]syncad[DOT]com