]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Clarify warning in Atree.Rewrite documentation
authorRonan Desplanques <desplanques@adacore.com>
Fri, 28 Feb 2025 11:25:20 +0000 (12:25 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 9 Jun 2025 06:32:04 +0000 (08:32 +0200)
commit8577f2ebef69b4c6a15ca9db2a93acbb2eccb73f
tree8b45f2af248c5e87b66aa8051c341bf8209933b1
parent9334a4a2c5ecfb56997a38030a8963f4462e7436
ada: Clarify warning in Atree.Rewrite documentation

The documentation of Atree.Rewrite warns about a potential misuse of
that subprogram. This patch makes the text of that warning more specific.
The documentation of Atree.Replace had the same note but this patch
replaces it with a mention of the one in Rewrite's documentation.

gcc/ada/ChangeLog:

* atree.ads (Rewrite, Replace): Clarify comments.
gcc/ada/atree.ads