Merge topic 'foreach-loop-variable'

46896d98bb foreach(): loop variables are only available in the loop scope

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Michael Hirsch <michael@scivision.dev>
Merge-request: !6044
This commit is contained in:
Brad King
2021-05-03 13:59:27 +00:00
committed by Kitware Robot
11 changed files with 182 additions and 12 deletions

View File

@@ -0,0 +1,5 @@
foreach-variable-scope
----------------------
* The :command:`foreach` command restrict loop variables to the loop scope.
See policy :policy:`CMP0124` for details.