summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2013-11-11 05:14:42 +0000
committerPete Cooper <peter_cooper@apple.com>2013-11-11 05:14:42 +0000
commit38fb3fae3445716686b14e771e08a7ef7b27dec1 (patch)
tree979a77d74a7d75d1ef596ccb128bc690829699a9 /include
parent43ed63bc8310758d2a80deecb2e470f383ca5691 (diff)
downloadllvm-38fb3fae3445716686b14e771e08a7ef7b27dec1.tar.gz
llvm-38fb3fae3445716686b14e771e08a7ef7b27dec1.tar.bz2
llvm-38fb3fae3445716686b14e771e08a7ef7b27dec1.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Compiler.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h
index 5ce9abc49d..860f43e942 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