[Ada] Allow for of iteration on formal vectors
authorClaire Dross <dross@adacore.com>
Wed, 21 Aug 2019 08:31:11 +0000 (08:31 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 21 Aug 2019 08:31:11 +0000 (08:31 +0000)
commit0728477991b0a10cdde60ca1b4ae39fce414041a
treecd02e57da7e04400a57dfc981a8a0baf61979279
parent61e33106eda3d937fae9ba624da05938bda3af5e
[Ada] Allow for of iteration on formal vectors

2019-08-21  Claire Dross  <dross@adacore.com>

gcc/ada/

* libgnat/a-cofove.ads (Vector): Add an Iterable aspect to allow
iteration.
(Iter_First, Iter_Next): Primitives used for iteration.

From-SVN: r274789
gcc/ada/ChangeLog
gcc/ada/libgnat/a-cofove.ads