]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix documentation of using attribute Loop_Entry in pragmas
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 16 Mar 2022 13:42:14 +0000 (14:42 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 17 May 2022 08:25:40 +0000 (08:25 +0000)
commit8fc021c0988113e1fcc5ec026f2382b074894e95
treeb83e004d792eb1eba5a7559918c2ba7b89b90b1f
parent7cff43618e6f300915ff9061608a974728315146
[Ada] Fix documentation of using attribute Loop_Entry in pragmas

Attribute Loop_Entry was initially only allowed to appear in pragmas
Loop_Variant and Loop_Invariant. Then it was also allowed to appear in
pragmas Assert, Assert_And_Cut and Assume, but this change was not
reflected in the GNAT RM.

gcc/ada/

* doc/gnat_rm/implementation_defined_attributes.rst
(Loop_Entry): Mention pragmas Assert, Assert_And_Cut and Assume;
refill.
* gnat_rm.texi: Regenerate.
gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
gcc/ada/gnat_rm.texi