File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,11 @@ Bug Fixes in This Version
308308- Builtin elementwise operators now accept vector arguments that have different
309309 qualifiers on their elements. For example, vector of 4 ``const float `` values
310310 and vector of 4 ``float `` values. (#GH155405)
311+ - Fixed inconsistent shadow warnings for lambda capture of structured bindings.
312+ Previously, ``[val = val] `` (regular parameter) produced no warnings with ``-Wshadow ``
313+ while ``[a = a] `` (where ``a `` is from ``auto [a, b] = std::make_pair(1, 2) ``)
314+ incorrectly produced warnings. Both cases now consistently show no warnings with
315+ ``-Wshadow `` and show uncaptured-local warnings with ``-Wshadow-all ``. (#GH68605)
311316
312317Bug Fixes to Compiler Builtins
313318^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments