[Ada] Extended traversal subprograms for GNATprove
authorYannick Moy <moy@adacore.com>
Mon, 12 Aug 2019 08:59:13 +0000 (08:59 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 12 Aug 2019 08:59:13 +0000 (08:59 +0000)
commit935b02aea97d8d2aa40e65e908228c4666cb1803
tree4f16ff0a2c2c995564555754e558b6e99a2dd2da
parent96a8b7050beeb1a28d0e2c2a8d3e841ea38d450c
[Ada] Extended traversal subprograms for GNATprove

GNATprove needs traversal subprograms that do not simply traverse
syntactic nodes like Atree.Traverse_Func and Atree.Traverse_Proc, but
also traverse semantic nodes which are logically children of the nodes.
Now available through Sem_Util.Traverse_More_Func and
Sem_Util.Traverse_More_Proc.

There is no impact on compilation.

2019-08-12  Yannick Moy  <moy@adacore.com>

gcc/ada/

* sem_util.adb, sem_util.ads (Traverse_More_Func,
Traverse_More_Proc): New traversal subprograms.

From-SVN: r274284
gcc/ada/ChangeLog
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads