folly/Synchronized.h: avoid shadowing warnings
authorJim Meyering <meyering@fb.com>
Thu, 20 Oct 2016 16:57:12 +0000 (09:57 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 20 Oct 2016 17:08:35 +0000 (10:08 -0700)
commitd2e50930e9d5a304383d1660644c43c77bb2e7e1
treeb47aef482507e87caa3976ae40f486edf27469ab
parent9047707eefac7bf1a5b309afb0d55a970215d08c
folly/Synchronized.h: avoid shadowing warnings

Summary:
Nested uses of SYNCHRONIZED (and related) macros leads
inevitably to shadowed variable declarations.
There is already a use of FOLLY_GCC_DISABLE_WARNING(shadow)
to disable -Wshadow in that code, but obviously, that cannot
help with the new options, so do similar for them via
the new FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS.

Depends on D4041696

Reviewed By: markisaa

Differential Revision: D4041728

fbshipit-source-id: b85fb3452f6855d359f9b910abbd02cf8433f3f7
folly/Synchronized.h