[Ada] Suppress warnings on unreferenced parameters of dispatching ops
authorArnaud Charlet <charlet@adacore.com>
Tue, 15 Sep 2020 12:56:31 +0000 (08:56 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 26 Oct 2020 08:59:05 +0000 (04:59 -0400)
commit7649892bfc838aeb0723200b56f34bebe2a87b46
treedd21e3a106e126d28173c0a1d2dff25fcd974ffd
parentf69ecf3bbad025688ec79e0090665774f254b761
[Ada] Suppress warnings on unreferenced parameters of dispatching ops

gcc/ada/

* sem_warn.adb (Warn_On_Unreferenced_Entity): Suppress warning
on formal parameters of all dispatching operations.

gcc/testsuite/

* gnat.dg/warn14.adb: Update expectations.
gcc/ada/sem_warn.adb
gcc/testsuite/gnat.dg/warn14.adb