Folly Changes for Clang, revision 1
authorTodd Nowacki <tmn@fb.com>
Tue, 4 Jun 2013 21:43:22 +0000 (14:43 -0700)
committerJordan DeLong <jdelong@fb.com>
Wed, 26 Jun 2013 02:45:50 +0000 (19:45 -0700)
commit16d227a14ccecc4fe2655750368e4e482d80485e
tree78a0d0ece9b035b45462564aa3235fe8439ffd49
parenta2d09ab3345f5f8c4ddb2e5db47c4b8366ed5669
Folly Changes for Clang, revision 1

Summary:
Depends on D829162 and D830052

A few changes are needed to get folly compiling with clang.
There are likely more changes to compile all of folly

---folly/Bits.cpp
+++folly/folly-config.h
Moved ifunc check, and added an additional check for clang, instead of hard
coding it to be 1

~~~folly/Range.cpp
Moved the declaration of a function to get rid of clang's unused function
warning.

Test Plan:
This bit of code was a dependency in another project.
That code compiled as it needed to

See other diff for more test details

Reviewed By: oyamauchi@fb.com

FB internal diff: D830075
folly/Bits.cpp
folly/Range.cpp