This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Update^5: Fix PR other/44034
On Fri, 18 Jun 2010, Joern Rennecke wrote:
> Quoting "Joseph S. Myers" <joseph@codesourcery.com>:
>
> > The comments at the start of target.def should explain the macro
> > DEFHOOK_UNDOC. They should also make clear which cases are obsolescent
> > and should not be used for new hooks but are used for existing hooks
> > pending appropriate license approvals from the FSF and the writing of
> > documentation for hooks currently lacking it (as I understand it, all
> > cases involving _UNDOC, "*" or "" for documentation or the presence of a
> > comment above a DEFHOOK* macro call).
>
> Like this?
Yes, like that, but the code appears to use @hook not @hookdoc and the
comment and code need to be consistent.
--
Joseph S. Myers
joseph@codesourcery.com