summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-01 09:12:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-01 09:12:30 +0000
commitcaf24cf30413321dffb9d11525d8a1a6ffdcdadb (patch)
treea0f3760ed712f01811b34f85c81c55abb950654a
parent484ca1a0305fc5ea3eb34ccfa7e2f2440209252f (diff)
downloadbcm5719-llvm-caf24cf30413321dffb9d11525d8a1a6ffdcdadb.tar.gz
bcm5719-llvm-caf24cf30413321dffb9d11525d8a1a6ffdcdadb.zip
[C++11] Force the other C++11 standard library detection macros to be
on unconditionally. Continuing to break down the C++98 support, hopefully without breaking anything. llvm-svn: 202579
-rw-r--r--llvm/include/llvm/Support/Compiler.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h
index e5bde0fae92..85837383247 100644
--- a/llvm/include/llvm/Support/Compiler.h
+++ b/llvm/include/llvm/Support/Compiler.h
@@ -80,21 +80,13 @@
/// * {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.
OpenPOWER on IntegriCloud