add FOLLY_MAYBE_UNUSED
authorVictor Gao <vgao@fb.com>
Tue, 18 Jul 2017 20:19:24 +0000 (13:19 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 18 Jul 2017 20:25:14 +0000 (13:25 -0700)
commitb10cedceae3f3fc098a69b2c67f9a8b119166c48
treeae6a1a45672fe34fae69de61051817c95f11bd38
parent99b781dfa607bc261ac7a009d6b278edb9d00e23
add FOLLY_MAYBE_UNUSED

Summary: This adds a macro `FOLLY_MAYBE_UNUSED` in `folly/CppAttributes.h` that can be used to suppress `-Wunused` warnings.

Reviewed By: yfeldblum

Differential Revision: D5444742

fbshipit-source-id: b16e8efefd76282498ad6114bac9548064cf38d5
folly/CppAttributes.h