]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix comment
authorRonan Desplanques <desplanques@adacore.com>
Wed, 4 Jun 2025 13:08:38 +0000 (15:08 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 3 Jul 2025 08:16:22 +0000 (10:16 +0200)
This patch fixes a misnaming of Make_Predefined_Primitive_Specs in a
comment.

gcc/ada/ChangeLog:

* exp_ch3.adb (Predefined_Primitive_Bodies): Fix comment.

gcc/ada/exp_ch3.adb

index eec276ccd044a8d3d9f588600591bf29a4d403bd..f51739369432c6343a022d1ea025355eddbc7a33 100644 (file)
@@ -401,7 +401,7 @@ package body Exp_Ch3 is
      (Tag_Typ    : Entity_Id;
       Renamed_Eq : Entity_Id) return List_Id;
    --  Create the bodies of the predefined primitives that are described in
-   --  Predefined_Primitive_Specs. When not empty, Renamed_Eq must denote
+   --  Make_Predefined_Primitive_Specs. When not empty, Renamed_Eq must denote
    --  the defining unit name of the type's predefined equality as returned
    --  by Make_Predefined_Primitive_Specs.