mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
[C++11] Remove LLVM_HAS_CXX11_TYPETRAITS now that it is a constant due
to the build being C++11. There is clearly still plenty of simplification than can be done here by using standard type traits instead of rolling our own in many places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a42d213c0
commit
f07a95af8c
@ -68,17 +68,6 @@
|
||||
#define LLVM_HAS_RVALUE_REFERENCE_THIS 0
|
||||
#endif
|
||||
|
||||
/// \macro LLVM_HAS_CXX11_TYPETRAITS
|
||||
/// \brief Does the compiler have the C++11 type traits.
|
||||
///
|
||||
/// #include <type_traits>
|
||||
///
|
||||
/// * enable_if
|
||||
/// * {true,false}_type
|
||||
/// * is_constructible
|
||||
/// * etc...
|
||||
#define LLVM_HAS_CXX11_TYPETRAITS 1
|
||||
|
||||
/// \macro LLVM_HAS_CXX11_STDLIB
|
||||
/// \brief Does the compiler have the C++11 standard library.
|
||||
///
|
||||
|
@ -21,9 +21,7 @@
|
||||
#include "llvm/Support/system_error.h"
|
||||
#include "llvm/Support/type_traits.h"
|
||||
#include <cassert>
|
||||
#if LLVM_HAS_CXX11_TYPETRAITS
|
||||
#include <type_traits>
|
||||
#endif
|
||||
|
||||
namespace llvm {
|
||||
template<class T, class V>
|
||||
|
Loading…
Reference in New Issue
Block a user