[NFC] Remove extra __has_feature

It's already in Compiler.h

llvm-svn: 367625
This commit is contained in:
JF Bastien 2019-08-01 22:19:53 +00:00
parent eee9312a85
commit 134ed73d62
1 changed files with 0 additions and 9 deletions

View File

@ -17,11 +17,6 @@
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>
#ifndef __has_feature
#define LLVM_DEFINED_HAS_FEATURE
#define __has_feature(x) 0
#endif
namespace llvm { namespace llvm {
@ -203,8 +198,4 @@ class is_trivially_copyable<T*> : public std::true_type {
#define LLVM_IS_FINAL(Ty) __is_final(Ty) #define LLVM_IS_FINAL(Ty) __is_final(Ty)
#endif #endif
#ifdef LLVM_DEFINED_HAS_FEATURE
#undef __has_feature
#endif
#endif // LLVM_SUPPORT_TYPE_TRAITS_H #endif // LLVM_SUPPORT_TYPE_TRAITS_H