[Ada] Minor comment cleanup
authorArnaud Charlet <charlet@adacore.com>
Fri, 5 Mar 2021 15:28:58 +0000 (10:28 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 17 Jun 2021 14:32:10 +0000 (10:32 -0400)
gcc/ada/

* atree.adb: Remove redundant comment with spec.
* sem_warn.adb: Fix typo in comment.

gcc/ada/atree.adb
gcc/ada/sem_warn.adb

index c5e43f2..be03c97 100644 (file)
 --                                                                          --
 ------------------------------------------------------------------------------
 
---  WARNING: There is a C version of this package. Any changes to this source
---  file must be properly reflected in the file atree.h which is a C header
---  file containing equivalent definitions for use by gigi.
-
 --  Assertions in this package are too slow, and are mostly needed when working
 --  on this package itself, or on gen_il, so we disable them.
 --  To debug low-level bugs in this area, comment out the following pragmas,
index 5a6a402..dbdf96a 100644 (file)
@@ -3030,7 +3030,7 @@ package body Sem_Warn is
       --  if we have seen the address of the subprogram being taken, or if the
       --  subprogram is used as a generic actual (in the latter cases the
       --  context may force use of IN OUT, even if the parameter is not
-      --  modifies for this particular case.
+      --  modified for this particular case.
 
       -----------------------
       -- No_Warn_On_In_Out --