]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Clean up Uint fields (continued)
authorArnaud Charlet <charlet@adacore.com>
Thu, 24 Jun 2021 08:00:35 +0000 (08:00 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 20 Sep 2021 12:31:32 +0000 (12:31 +0000)
gcc/ada/

* gen_il-internals.ads (Invalid_Val): Remove, unused and
generates warnings.

gcc/ada/gen_il-internals.ads

index ae448de0e7c6a17fc6ed456fba0509a97cdb1129..53c23a278518f84f95830df5f7ed193ebcb7f22d 100644 (file)
@@ -190,11 +190,6 @@ package Gen_IL.Internals is
      (Field_Type : Type_Enum) return String is
       (if Field_Type = Elist_Id then "No_Elist" else "Uint_0");
 
-   function Invalid_Val
-     (Field_Type : Uint_Subtype) return String is
-      ("No_Uint");
-   --  We could generalize this to other than Uint at some point
-
    ----------------
 
    subtype Node_Field is