[Ada] Extend function to retrieve first/last nodes to all declarations
commit6ae60a649ee76755632adef16decdf90fb8c1ec8
authorYannick Moy <moy@adacore.com>
Wed, 10 Feb 2021 14:23:06 +0000 (10 15:23 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Jun 2021 10:19:37 +0000 (15 06:19 -0400)
tree16a911fee176562628858c9caf8c499bfa979d65
parent40f464256cb547f8663f44965d7bb8a68527be6b
[Ada] Extend function to retrieve first/last nodes to all declarations

gcc/ada/

* errout.adb (First_And_Last_Node): Also apply to arbitrary late
declarations, not only subprogram specs.
gcc/ada/errout.adb