This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Summary: unreviewed hook doc patches
I have looked at these patches and the documentation changes look fine to me
(note, I cannot review or approve them). However, the placement of new
documentation (e.g. the description of TARGET_SCHED_ADJUST_COST_2 hook)
puzzled me. Did I understand correctly that order in which hooks are
documented must match their declaration order in target.h?
[There is clearly no coding rule that says that, so I'll interpret this
as a query about my patch to generate / preprocess headers and documentation
from a single header file.]
No, that's only a default. I made it so that you can place a hook at a
specific place in the documentation, and then all the succeeding hooks
will follow till the next explicitly placed hook is encountered.