This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Add braces, move braces, and rename variables to avoid shadowing.
ClosedPublic

Authored by STL_MSFT on Apr 27 2016, 2:23 PM.

Details

Summary

[libc++] Add braces, move braces, and rename variables to avoid shadowing.

Fixes MSVC "warning C4456: declaration of 'meow' hides previous local declaration".

Diff Detail

Event Timeline

STL_MSFT updated this revision to Diff 55313.Apr 27 2016, 2:23 PM
STL_MSFT retitled this revision from to [libc++] Add braces, move braces, and rename variables to avoid shadowing..
STL_MSFT updated this object.
STL_MSFT added reviewers: mclow.lists, EricWF.
STL_MSFT added a subscriber: cfe-commits.
EricWF accepted this revision.Apr 27 2016, 7:48 PM
EricWF edited edge metadata.

I hope the actual warning says 'meow' in all cases.

This revision is now accepted and ready to land.Apr 27 2016, 7:48 PM
EricWF closed this revision.Apr 27 2016, 7:51 PM

r267844.