[Ada] Suppress warnings in expansion of "for ... of" loops
authorBob Duff <duff@adacore.com>
Fri, 10 Jul 2020 11:37:33 +0000 (07:37 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 19 Oct 2020 09:53:41 +0000 (05:53 -0400)
commit84adfddd0e703c20203a2414c1a2f0fde3f540b7
tree2ede40ddf2a7b9a4cb02965cbe5076840fd5c718
parentf1f877eea9bcf2858c039595fdaaa0e8d572e317
[Ada] Suppress warnings in expansion of "for ... of" loops

gcc/ada/

* exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration):
Set the Warnings_Off flag on the pointer object used in the
expansion of iterators and similar.
gcc/ada/exp_ch6.adb