folly/Preprocessor.h: fix `FB_ANONYMOUS_VARIABLE` in modular builds
Summary: Modular builds build each module with its own preprocessor state, meaning `__COUNTER__` no longer provides a unique number across a TU. Instead of calling back to just `__LINE__`, use a mix of `__COUNTER__` and `__LINE__` to try provide as much uniqueness as possible. Reviewed By: yfeldblum Differential Revision: D13152221 fbshipit-source-id: e1728d56f793d2f2cc7992056f6049c4c3566c94
Showing
Please register or sign in to comment