ada: Remove duplicated code in Proc_Next_Component_Or_Discriminant
commitade343e6694ffeb4d587db073b19d5da5e1c3003
authorBob Duff <duff@adacore.com>
Fri, 13 Jan 2023 13:34:45 +0000 (13 08:34 -0500)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 15 May 2023 09:36:42 +0000 (15 11:36 +0200)
treea0d4a8708dafc7066ad6acbec3d96d8c431d1eaf
parent51e8f41212cfdffef374f9a5e916a19702cdecd1
ada: Remove duplicated code in Proc_Next_Component_Or_Discriminant

Proc_Next_Component_Or_Discriminant was duplicating the code
in Next_Component_Or_Discriminant.

gcc/ada/

* einfo-utils.adb:
(Proc_Next_Component_Or_Discriminant): Call
Next_Component_Or_Discriminant.
gcc/ada/einfo-utils.adb