[libc++] Detect C11 features on non-Clang compilers
authorLouis Dionne <ldionne@apple.com>
Wed, 15 Aug 2018 00:16:41 +0000 (00:16 +0000)
committerLouis Dionne <ldionne@apple.com>
Wed, 15 Aug 2018 00:16:41 +0000 (00:16 +0000)
commit894ffdd82fb8c9a45c7746f190beb3eb3b7e455a
treec10f5f8dd2af4d7864641ba5b9692dce345d017f
parent66654b72c9e6b2aea51d20f9949a010df864d0f9
[libc++] Detect C11 features on non-Clang compilers

Summary:
The macros were inside `#if defined(_LIBCPP_COMPILER_CLANG)`, which means
we would never detect C11 features on non-Clang compilers. According to
Marshall Clow, this is not the intended behavior.

Reviewers: mclow.lists, EricWF

Subscribers: krytarowski, christof, dexonsmith, cfe-commits

Differential Revision: https://reviews.llvm.org/D50748

llvm-svn: 339741
libcxx/include/__config