This is the mail archive of the gcc-patches@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: [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


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