From: Chandler Carruth Date: Sat, 1 Mar 2014 09:12:30 +0000 (+0000) Subject: [C++11] Force the other C++11 standard library detection macros to be X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ef6cf471125156a14a7f58f85fe487e59b0d130b;p=oota-llvm.git [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 --- diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index e5bde0fae92..85837383247 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.