]> gcc.gnu.org Git - gcc.git/commit
[Ada] Fix the -gnatyr switch so it works in record rep clauses
authorBob Duff <duff@adacore.com>
Sun, 18 Apr 2021 13:45:04 +0000 (09:45 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 29 Jun 2021 14:23:49 +0000 (14:23 +0000)
commitbfe2554f052b11ecf07d93cb04137f3fca5c6e6d
tree70618630087ce1243dded7734f4f8264f884cc3c
parenta671959b7640b1b02c924292959f2cbe1574536a
[Ada] Fix the -gnatyr switch so it works in record rep clauses

gcc/ada/

* sem_ch13.adb (Analyze_Record_Representation_Clause): Call
Set_Entity_With_Checks instead of Set_Entity, so we perform the
check for correct casing.
* style.adb (Check_Identifier): Minor comment improvement.
Cleanup overly complicated code.
gcc/ada/sem_ch13.adb
gcc/ada/style.adb
This page took 0.057269 seconds and 5 git commands to generate.