]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Casing style on record components
authorBob Duff <duff@adacore.com>
Thu, 7 Apr 2022 14:59:32 +0000 (10:59 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 19 May 2022 14:05:28 +0000 (14:05 +0000)
commit5cc07f401a69f14638cfd37b27401e4e0fd8fc65
treec6bde4d44348b663b2698eb91711a6be40f9a122
parentc697f593f47490b1d3b061ae76ba728bfa2ff372
[Ada] Casing style on record components

This patch fixes a bug where the -gnatyr switch fails to detect
incorrect casing of record components.

gcc/ada/

* style.adb (Check_Identifier): Deal with the case where a
record component definition has been transformed; we want to
warn if the original came from source.
* libgnat/s-objrea.ads, libgnat/s-objrea.adb: Fix casing of MF
to be consistent.
* uname.adb: Fix casing of Chars to be consistent.
* sem_util.ads: Minor comment fix.
gcc/ada/libgnat/s-objrea.adb
gcc/ada/libgnat/s-objrea.ads
gcc/ada/sem_util.ads
gcc/ada/style.adb
gcc/ada/uname.adb