]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Clarify code in Process_Subtype
authorRonan Desplanques <desplanques@adacore.com>
Fri, 14 Mar 2025 13:41:56 +0000 (14:41 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 9 Jun 2025 06:32:13 +0000 (08:32 +0200)
commit3280bce431be5afb260fe59d01ef1deee38704e8
treebb0674ceead1dc5b44250eb60e655844943f82a7
parent83578594c5a68dc27a028191983ee9f3c57436df
ada: Clarify code in Process_Subtype

This patch factorizes two if statements together in the body of
Process_Subtype, to improve readability.

gcc/ada/ChangeLog:

* sem_ch3.adb (Process_Subtype): Clarify code.
gcc/ada/sem_ch3.adb