projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee9312
)
[NFC] Remove extra __has_feature
author
JF Bastien
<jfbastien@apple.com>
Thu, 1 Aug 2019 22:19:53 +0000
(22:19 +0000)
committer
JF Bastien
<jfbastien@apple.com>
Thu, 1 Aug 2019 22:19:53 +0000
(22:19 +0000)
It's already in Compiler.h
llvm-svn: 367625
llvm/include/llvm/Support/type_traits.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/type_traits.h
b/llvm/include/llvm/Support/type_traits.h
index
c8c6a76
..
b9d29f3
100644
(file)
--- a/
llvm/include/llvm/Support/type_traits.h
+++ b/
llvm/include/llvm/Support/type_traits.h
@@
-17,11
+17,6
@@
#include <type_traits>
#include <utility>
-#ifndef __has_feature
-#define LLVM_DEFINED_HAS_FEATURE
-#define __has_feature(x) 0
-#endif
-
namespace llvm {
@@
-203,8
+198,4
@@
class is_trivially_copyable<T*> : public std::true_type {
#define LLVM_IS_FINAL(Ty) __is_final(Ty)
#endif
-#ifdef LLVM_DEFINED_HAS_FEATURE
-#undef __has_feature
-#endif
-
#endif // LLVM_SUPPORT_TYPE_TRAITS_H