]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove outdated comment
authorRonan Desplanques <desplanques@adacore.com>
Mon, 3 Mar 2025 14:42:32 +0000 (15:42 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 9 Jun 2025 06:32:04 +0000 (08:32 +0200)
This patch removes a comment that was made incorrect by the introduction
of Is_Self_Hidden.

gcc/ada/ChangeLog:

* sem_ch3.adb (Analyze_Object_Declaration): Remove comment.

gcc/ada/sem_ch3.adb

index 690d6688958846842a1897ecf075296a5cdd7c91..a8764db65032ccae54c0013e74c3e94e61d48b3a 100644 (file)
@@ -4659,9 +4659,7 @@ package body Sem_Ch3 is
             Set_Has_Completion (Id);
          end if;
 
-         --  Set type and resolve (type may be overridden later on). Note:
-         --  Ekind (Id) must still be E_Void at this point so that incorrect
-         --  early usage within E is properly diagnosed.
+         --  Set type and resolve (type may be overridden later on)
 
          Set_Etype (Id, T);