folly/Foreach.h: fix FOR_EACH_R and FOR_EACH_KV to avoid shadowing warnings
Summary: Fix these macros not to self-shadow for nested uses. How? Make each local variable name include __LINE__. This works in most cases, but not all: if you put the nested uses all on one line, you'll still get shadowing warnings. Reviewed By: yfeldblum Differential Revision: D4161553 fbshipit-source-id: 9e11ae6778272c733a4c820cfb30c5db59998a5b
Showing
Please register or sign in to comment