summaryrefslogtreecommitdiffstats
path: root/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
commitb3440f5898f39b8f0a86edfa38538716ba4f06cd (patch)
tree7f2f80c47a33541f73aa16fe3d6871c373b94491 /INPUTS
parent7444639f2739905054ef37f3f100f4bad8810062 (diff)
all-std-headers.cpp: Include the C++11 headers when building with clang
in -std=gnu++11 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'INPUTS')
-rw-r--r--INPUTS/all-std-headers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/INPUTS/all-std-headers.cpp b/INPUTS/all-std-headers.cpp
index 5f13b9d5e8..5b5f4eca97 100644
--- a/INPUTS/all-std-headers.cpp
+++ b/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>