summaryrefslogtreecommitdiff
path: root/include/llvm/Support
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
commitef6cf471125156a14a7f58f85fe487e59b0d130b (patch)
treea25248d6563e8d4b92f8a42b8565f8dbbbeaf53f /include/llvm/Support
parent61f5c0a06571d7fc0909e85c4ec7ba2224e7dbb2 (diff)
downloadllvm-ef6cf471125156a14a7f58f85fe487e59b0d130b.tar.gz
llvm-ef6cf471125156a14a7f58f85fe487e59b0d130b.tar.bz2
llvm-ef6cf471125156a14a7f58f85fe487e59b0d130b.tar.xz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/Compiler.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h
index e5bde0fae9..8583738324 100644
--- a/include/llvm/Support/Compiler.h
+++ b/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.