summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2019-01-22 06:26:50 +0000
committerVitaly Buka <vitalybuka@google.com>2019-01-22 06:26:50 +0000
commitfa1e8d86ced125c62af339ba36c446980058c077 (patch)
treeb4f0a8e7766f4cd7de9b97dcb275c5757168d732
parent096ee9159f791b49f3db0caab8b50afe9d413786 (diff)
downloadbcm5719-llvm-fa1e8d86ced125c62af339ba36c446980058c077.tar.gz
bcm5719-llvm-fa1e8d86ced125c62af339ba36c446980058c077.zip
Remove static_assert(value == std::is_trivially_copyable<T>::value)
This fails to compile with clang ang libstdc++ 4.6 llvm-svn: 351784
-rw-r--r--llvm/include/llvm/Support/type_traits.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/include/llvm/Support/type_traits.h b/llvm/include/llvm/Support/type_traits.h
index b8cf12d03d2..a52bd408d27 100644
--- a/llvm/include/llvm/Support/type_traits.h
+++ b/llvm/include/llvm/Support/type_traits.h
@@ -162,10 +162,6 @@ class is_trivially_copyable {
(has_deleted_move_constructor || has_trivial_move_constructor) &&
(has_deleted_copy_assign || has_trivial_copy_assign) &&
(has_deleted_copy_constructor || has_trivial_copy_constructor);
-
-#if (__has_feature(is_trivially_copyable) || (defined(__GNUC__) && __GNUC__ >= 5))
- static_assert(value == std::is_trivially_copyable<T>::value, "inconsistent behavior between llvm:: and std:: implementation of is_trivially_copyable");
-#endif
};
OpenPOWER on IntegriCloud