[Ada] Document attribute Has_Tagged_Values in GNAT RM
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 14 Oct 2020 13:49:17 +0000 (15:49 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 25 Nov 2020 13:22:42 +0000 (08:22 -0500)
commit47c2b77ffb9a2a1b5c1b8ab7ee01a258e7a9cae7
tree858e1ce6f8accc889e36c6db71331c142cf4cd61
parent14a16e30caecaddd7e19aabed2357cb9489d8d5c
[Ada] Document attribute Has_Tagged_Values in GNAT RM

gcc/ada/

* doc/gnat_rm/implementation_defined_attributes.rst
(Has_Tagged_Values): Document based on the existing description
of Has_Access_Type and the comment for Has_Tagged_Component,
which is where frontend evaluates this attribute.
* gnat_rm.texi: Regenerate.
* sem_attr.adb (Analyze_Attribute): Merge processing of
Has_Access_Type and Has_Tagged_Component attributes.
* sem_util.adb (Has_Access_Type): Fix casing in comment.
* sem_util.ads (Has_Tagged_Component): Remove wrong (or
outdated) comment about the use of this routine to implement the
equality operator.
gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
gcc/ada/gnat_rm.texi
gcc/ada/sem_attr.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads