summaryrefslogtreecommitdiffstats
path: root/clang/INPUTS
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-13 03:39:16 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-13 03:39:16 +0000
commit0a465bb28ed82433e2bf92ad8a17b463ce343127 (patch)
treef2b36a045f4525b11f8c816d141104378c2498d6 /clang/INPUTS
parent32233a7c1ae04432a9d12c0d9f029cce552ec24a (diff)
downloadbcm5719-llvm-0a465bb28ed82433e2bf92ad8a17b463ce343127.tar.gz
bcm5719-llvm-0a465bb28ed82433e2bf92ad8a17b463ce343127.zip
all-std-headers.cpp: Include the C++11 headers when building with clang
in -std=gnu++11 mode. llvm-svn: 154654
Diffstat (limited to 'clang/INPUTS')
-rw-r--r--clang/INPUTS/all-std-headers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/INPUTS/all-std-headers.cpp b/clang/INPUTS/all-std-headers.cpp
index 5f13b9d5e8a..5b5f4eca979 100644
--- a/clang/INPUTS/all-std-headers.cpp
+++ b/clang/INPUTS/all-std-headers.cpp
@@ -52,7 +52,7 @@
#include <valarray>
#include <vector>
-#if __cplusplus >= 201103
+#if __cplusplus >= 201103 || defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <array>
#if __has_include(<atomic>)
#include <atomic>
OpenPOWER on IntegriCloud