]> git.ipfire.org Git - thirdparty/gcc.git/commit
Doc: Clean up musttail attribute docs some more
authorSandra Loosemore <sloosemore@baylibre.com>
Thu, 3 Apr 2025 05:02:34 +0000 (05:02 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Thu, 3 Apr 2025 14:32:14 +0000 (14:32 +0000)
commit26e9139691ac73f53fad64960a0ea48830adfa52
tree5121224d2392c6cf31ae29de68ed8467adcfe091
parent701bc728c31a84b6eff7d77f48c6ab270af007cf
Doc: Clean up musttail attribute docs some more

Looking over the recently-committed change to the musttail attribute
documentation, it appears the comment in the last example was a paste-o,
as it does not agree with either what the similar example in the
-Wmaybe-musttail-local-addr documentation says, or the actual behavior
observed when running the code.

In addition, the entire section on musttail was in need of copy-editing
to put it in the present tense, avoid reference to "the user", etc.  I've
attempted to clean it up here.

gcc/ChangeLog
* doc/extend.texi (Statement Attributes): Copy-edit the musttail
attribute documentation and correct the comment in the last
example.
gcc/doc/extend.texi