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:
Pete Cooper 2013-11-11 05:14:42 +00:00
parent 43ed63bc83
commit 38fb3fae34

View File

@ -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