This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [tree-ssa] Re: Doxy for tree-optimize.c
- From: Bosscher Steven Civ USAFA/DFAN <Steven dot Bosscher at usafa dot af dot mil>
- To: "'Daniel Berlin'" <dberlin at dberlin dot org>, Diego Novillo <dnovillo at redhat dot com>
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 11 Dec 2002 20:59:42 -0700
- Subject: RE: [tree-ssa] Re: Doxy for tree-optimize.c
On Wednesday, December 11, 2002, Daniel Berlin wrote:
> On Wednesday, December 11, 2002, at 07:42 PM, Diego Novillo wrote:
>
> > On Tue, 10 Dec 2002, Steven Bosscher wrote:
> >
> >> [ patches for tree-ssa.c and tree-cfg.c sent off-list to Diego. ]
> >>
> >>
> > Thanks Steven. It's really too bad that doxygen can't cope with
> > K&R function declarations.
> >
> > Does anybody know how we could deal with this problem? Doxygen
> > refuses to add documentation for some of the functions. We could
> > fix this with a k&r to ansi filter, but a quick search hasn't
> > produced anything useful.
>
> Err I sent you one that works fine for our purposes. I've tried it on
> all the tree* files, and it works.
> Let me know if you need the latest version.
Your filter works for me for K&R style function declarations. The things
that don't work for me are PARAMS(*) macros that span multiple lines, such
as in tree-dfa.c. I'm not a perl/sed hero, so if you have a quick fix for
that as well, would be appreciated ;-)
Also, Doxygen doesn't inline the whole function body in the HTML
documentation with my configurarion. It leaves out all closing brackets (}).
Greetz
Steven