]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix comment in Find_Type_Name
authorRonan Desplanques <desplanques@adacore.com>
Fri, 8 Aug 2025 12:57:19 +0000 (14:57 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 9 Sep 2025 12:39:58 +0000 (14:39 +0200)
commit0cdb59dcce86c060d828d751b666757edb6af0b3
tree54441cee03b54ba543f2b2c62c9f8823162816ad
parent97b771f90a19d156bdf97d940cf9735a0a2e9efc
ada: Fix comment in Find_Type_Name

The comment this patch changes was made incorrect by the possibility of
completing an incomplete view with a private type declaration in Ada
2012. To avoid any possible confusion, this patch brings the comment up
to date.

gcc/ada/ChangeLog:

* sem_ch3.adb (Find_Type_Name): Fix comment.
gcc/ada/sem_ch3.adb