forked from OSchip/llvm-project
[NFC] Remove extra __has_feature
It's already in Compiler.h llvm-svn: 367625
This commit is contained in:
parent
eee9312a85
commit
134ed73d62
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue