mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 14:27:51 +08:00
203383666e
* [llvm] Update port to 15.0.1 The patchset is rebased onto llvmorg-15.0.1, with some significant differences especially around install paths. The NixOS project appears to be midway through a large change to the install path mechanics, for the same purpose as this patchset. When that has landed, it looks like most of these patches can go away. * [llvm] x-add-version for 15.0.1 * [llvm] Add enable-ios feature flag This passes straight through to COMPILER_RT_ENABLE_IOS, which is defaulted to ON in LLVM. This is a problem if your build host doesn't have the iOS SDK installed, such as on vcpkg CI. Co-authored-by: Josh Channings <josh@channings.me.uk>
18 lines
834 B
Diff
18 lines
834 B
Diff
llvm/include/llvm/Support/type_traits.h | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/llvm/include/llvm/Support/type_traits.h b/llvm/include/llvm/Support/type_traits.h
|
|
index 7b7d5d991f3f..469b681deea3 100644
|
|
--- a/llvm/include/llvm/Support/type_traits.h
|
|
+++ b/llvm/include/llvm/Support/type_traits.h
|
|
@@ -176,7 +176,8 @@ class is_trivially_copyable {
|
|
(has_deleted_copy_assign || has_trivial_copy_assign) &&
|
|
(has_deleted_copy_constructor || has_trivial_copy_constructor);
|
|
|
|
-#ifdef HAVE_STD_IS_TRIVIALLY_COPYABLE
|
|
+// due to DR 1734, a type can be std::is_trivially_copyable but not llvm::is_trivially_copyable
|
|
+#if 0
|
|
static_assert(value == std::is_trivially_copyable<T>::value,
|
|
"inconsistent behavior between llvm:: and std:: implementation of is_trivially_copyable");
|
|
#endif
|