]> git.ipfire.org Git - people/ms/gcc.git/commit
docs: Add @defbuiltin family of helpers
authorArsen Arsenović <arsen@aarsen.me>
Fri, 10 Mar 2023 15:13:28 +0000 (16:13 +0100)
committerArsen Arsenović <arsen@aarsen.me>
Tue, 21 Mar 2023 08:47:33 +0000 (09:47 +0100)
commitf25efe50374c546edbb89c0280764a06ac0b2bd8
tree5e5f84c7868df7b47fdc826d22e1aed6c0ec48a5
parente1e5ecb28969f2322145d75612beeb0860324bd7
docs: Add @defbuiltin family of helpers

The @defbuiltin{,x} macros are convenience macros for the often-repeated
task of defining a built-in function in extend.texi.  Usage of this
macro should lead to a higher degree of consistency across pieces of
text written by different people, and provide a better reading
experience, as they prevent easy-to-make errors, like forgetting index
entries for these functions.

gcc/ChangeLog:

* doc/include/gcc-common.texi: Add @defbuiltin{,x} and
@enddefbuiltin for defining built-in functions.
* doc/extend.texi: Apply @defbuiltin{,x} to many, but not all,
places where it should be used.
gcc/doc/extend.texi
gcc/doc/include/gcc-common.texi