]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/sem_ch3.adb
[Ada] Follow-on cleanups for Uint fields
authorBob Duff <duff@adacore.com>
Fri, 22 Oct 2021 16:00:38 +0000 (12:00 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 25 Oct 2021 15:07:22 +0000 (15:07 +0000)
commit42b39995546a63fe7d9313744cdab21f356346b2
treedb228521ca4ebc7e25e5145b8f2b420ff1857ea3
parented00b051d907c6f2383c906ee2354c7ba7488dff
[Ada] Follow-on cleanups for Uint fields

gcc/ada/

* freeze.adb (Freeze_Fixed_Point_Type): Remove
previously-inserted test for Uint_0; no longer needed.
* gen_il-gen.ads: Improve comments.
* repinfo.adb (Rep_Value): Use Ubool type for B.
* repinfo.ads (Node_Ref): Use Unegative type.
(Node_Ref_Or_Val): Document that values of this type can be
No_Uint.
* exp_disp.adb (Make_Disp_Requeue_Body): Minor comment fix.
* sem_ch3.adb: Likewise.
* sem_ch8.adb: Likewise.
* sinfo-utils.adb (End_Location): End_Span can never be No_Uint,
so remove the "if No (L)" test.
* uintp.adb (Image_String): Use "for ... of" loop.
* uintp.ads (Unegative): New type for negative integers.  We
give it a long name (unlike Unat and Upos) because it is rarely
used.
gcc/ada/exp_disp.adb
gcc/ada/freeze.adb
gcc/ada/gen_il-gen.ads
gcc/ada/repinfo.adb
gcc/ada/repinfo.ads
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch8.adb
gcc/ada/sinfo-utils.adb
gcc/ada/uintp.adb
gcc/ada/uintp.ads
This page took 0.062964 seconds and 5 git commands to generate.