Skip to content

Commit

Permalink
all-std-headers.cpp: Include the C++11 headers when building with clang
Browse files Browse the repository at this point in the history
in -std=gnu++11 mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154654 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
zygoloid committed Apr 13, 2012
1 parent 7444639 commit b3440f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion INPUTS/all-std-headers.cpp
Expand Up @@ -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>
Expand Down

0 comments on commit b3440f5

Please sign in to comment.