If you poke around the github issues, you'll note that several folks are successfully compiling folly with Clang.
The readme was updated and now reads
> folly supports gcc (5.1+), clang, or MSVC. It should run on Linux (x86-32, x86-64, and ARM), iOS, macOS, and Windows (x86-64). The CMake build is only tested on some of these platforms; at a minimum, we aim to support macOS and Linux (on the latest Ubuntu LTS release or newer.)
folly is used in FB opensource projects on Windows, macOS, and Linux (e.g. watchman) and Android and iOS (React Native, though that might not include the whole library.)
One motivation for this is so that a user may know whether folly supports the version of the gcc c++ compiler which is preinstalled on their system, since many systems ship with a preinstalled gcc. Likewise for systems which ship with a blessed package repo.
But folly also supports recent versions of clang and msvc, as other commenters here note.
It could be their statement "folly requires gcc 5.1+" meant gcc 5.1 or greater, where clang might be greater?
Reminds me of an old joke: "The package said it required Windows 95 or better, so I installed Linux."
They'd save a lot of guessing by putting in which Special Modern Features their code relies on.
The first paragraph of the readme starts with "Folly (acronymed loosely after Facebook Open Source Library) is a library of C++14 components" and gcc 5.1 is the first version (https://gcc.gnu.org/projects/cxx-status.html#cxx14) which supports all of c++14
Don't know if it's still true, but when I was at Facebook we used Clang for debug builds, and GCC for production builds.