[Ada] Warn when interfaces swapped between full and partial view
authorEtienne Servais <servais@adacore.com>
Fri, 1 Oct 2021 15:04:11 +0000 (17:04 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 10 Nov 2021 08:57:38 +0000 (08:57 +0000)
commitf51d1dde83fd4b6b2730a2b6b45e5966245e0561
treeb69cbe6c1ff34a3e772929f82abce84232ce92ed
parent8c787be254c50d208a15a18033d29de419c7c165
[Ada] Warn when interfaces swapped between full and partial view

gcc/ada/

* sem_ch3.adb (Derived_Type_Declaration): Introduce a subprogram
for tree transformation. If a tree transformation is performed,
then warn that it would be better to reorder the interfaces.
gcc/ada/sem_ch3.adb