From 38fb3fae3445716686b14e771e08a7ef7b27dec1 Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Mon, 11 Nov 2013 05:14:42 +0000 Subject: [PATCH] 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 --- include/llvm/Support/Compiler.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 5ce9abc49d4..860f43e9423 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -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 -- 2.34.1