From b3440f5898f39b8f0a86edfa38538716ba4f06cd Mon Sep 17 00:00:00 2001 From: Richard Smith <richard-llvm@metafoo.co.uk> Date: Fri, 13 Apr 2012 03:39:16 +0000 Subject: [PATCH] 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 --- INPUTS/all-std-headers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INPUTS/all-std-headers.cpp b/INPUTS/all-std-headers.cpp index 5f13b9d5e8a..5b5f4eca979 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> -- GitLab