[llvm] r194365 - Don't universally enable initialiser lists on GCC. Thanks for catching this Chandler
Pete Cooper
peter_cooper at apple.com
Sun Nov 10 21:14:42 PST 2013
Author: pete
Date: Sun Nov 10 23:14:42 2013
New Revision: 194365
URL: http://llvm.org/viewvc/llvm-project?rev=194365&view=rev
Log:
Don't universally enable initialiser lists on GCC. Thanks for catching this Chandler
Modified:
llvm/trunk/include/llvm/Support/Compiler.h
Modified: llvm/trunk/include/llvm/Support/Compiler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Compiler.h?rev=194365&r1=194364&r2=194365&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Compiler.h (original)
+++ llvm/trunk/include/llvm/Support/Compiler.h Sun Nov 10 23:14:42 2013
@@ -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
More information about the llvm-commits
mailing list