make folly/Bits.h clang-compatible
authorPhilip Pronin <philipp@fb.com>
Thu, 1 Aug 2013 08:42:27 +0000 (01:42 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 28 Aug 2013 21:30:11 +0000 (14:30 -0700)
commitd82103b898d2c831ee86a17f57656cad22e99fb1
tree160ffc896c76cee9335bab7574682d633c59e871
parent634f30b5350a805027086a79b1641a6f15262242
make folly/Bits.h clang-compatible

Summary: In clang (as of 3.2) intrinsics aren't `constexpr`.

Test Plan:
fbconfig folly/test:bits_test && fbmake opt -j32
fbconfig --clang folly/test:bits_test && fbmake opt -j32

Reviewed By: lucian@fb.com

FB internal diff: D910310
folly/Bits.h
folly/test/BitsTest.cpp