mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-21 19:48:46 +00:00
Don't universally enable initialiser lists on GCC. Thanks for catching this Chandler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194365 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
43ed63bc83
commit
38fb3fae34
@ -405,8 +405,7 @@
|
||||
|
||||
/// \brief Does the compiler support generalized initializers (using braced
|
||||
/// lists and std::initializer_list).
|
||||
#if (__has_feature(cxx_generalized_initializers) \
|
||||
|| defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
#if __has_feature(cxx_generalized_initializers)
|
||||
#define LLVM_HAS_INITIALIZER_LISTS 1
|
||||
#else
|
||||
#define LLVM_HAS_INITIALIZER_LISTS 0
|
||||
|
Loading…
Reference in New Issue
Block a user