Some constexpr symbols for whether sanitizers are enabled
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 31 Mar 2017 04:38:09 +0000 (21:38 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 31 Mar 2017 04:39:15 +0000 (21:39 -0700)
commit388266e5f011284fa6ffb88c117bee39241fc763
tree04eacb9c0e4b702aa697fb185123c27952ee9f0b
parentc84f534737cb335d99916b15b06149bd1c828424
Some constexpr symbols for whether sanitizers are enabled

Summary:
[Folly] Some constexpr symbols for whether sanitizers are enabled.

Useful where we need to do or not do some particular thing when sanitizers are enabled or disabled. Such cases do happen. It is better to use a C++ `constexpr` symbol rather than a preprocessor symbol in such cases, where possible.

Reviewed By: meyering

Differential Revision: D4805110

fbshipit-source-id: ca9ce074edef73dce3a04693dda102698c9cd29f
folly/Portability.h