[C++11] Force the other C++11 standard library detection macros to be
authorChandler Carruth <chandlerc@gmail.com>
Sat, 1 Mar 2014 09:12:30 +0000 (09:12 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 1 Mar 2014 09:12:30 +0000 (09:12 +0000)
on unconditionally. Continuing to break down the C++98 support,
hopefully without breaking anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202579 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Compiler.h

index e5bde0fae9227c35212250102ac1775552777dca..85837383247f1e8f1298854cf10dba94eea28bf4 100644 (file)
 /// * {true,false}_type
 /// * is_constructible
 /// * etc...
-#if defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1700)
 #define LLVM_HAS_CXX11_TYPETRAITS 1
-#else
-#define LLVM_HAS_CXX11_TYPETRAITS 0
-#endif
 
 /// \macro LLVM_HAS_CXX11_STDLIB
 /// \brief Does the compiler have the C++11 standard library.
 ///
 /// Implies LLVM_HAS_RVALUE_REFERENCES, LLVM_HAS_CXX11_TYPETRAITS
-#if defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1700)
 #define LLVM_HAS_CXX11_STDLIB 1
-#else
-#define LLVM_HAS_CXX11_STDLIB 0
-#endif
 
 /// \macro LLVM_HAS_VARIADIC_TEMPLATES
 /// \brief Does this compiler support variadic templates.