[Ada] Add comments about attribute 'Valid_Scalars on private tagged types
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 27 Apr 2020 09:30:06 +0000 (11:30 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 19 Jun 2020 08:17:10 +0000 (04:17 -0400)
commitd57f8e40433cb73fa08fab92b3238a1981c7c037
tree137254873f4a612d695a912bc88a19434b13f39e
parenta4dafb8b92e00e2f783bf8915b17f1f450eff227
[Ada] Add comments about attribute 'Valid_Scalars on private tagged types

2020-06-19  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* exp_attr.adb (Expand_N_Attribute_Reference): Add comment.
* sem_attr.adb (Analyze_Attribute): Add ??? comment.
* sem_util.ads (Valid_Scalars): This routine is only used for
'Valid_Scalars and not for 'Valid.
gcc/ada/exp_attr.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_util.ads