]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/llvm/0004-fix-dr-1734.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / llvm / 0004-fix-dr-1734.patch
CommitLineData
1e59de90
TL
1diff --git a/llvm/include/llvm/Support/type_traits.h b/llvm/include/llvm/Support/type_traits.h
2index b7d48e8e1ad..53ba24efc00 100644
3--- a/llvm/include/llvm/Support/type_traits.h
4+++ b/llvm/include/llvm/Support/type_traits.h
5@@ -177,7 +177,8 @@ class is_trivially_copyable {
6 (has_deleted_copy_assign || has_trivial_copy_assign) &&
7 (has_deleted_copy_constructor || has_trivial_copy_constructor);
8
9-#ifdef HAVE_STD_IS_TRIVIALLY_COPYABLE
10+ // due to DR 1734, a type can be std::is_trivially_copyable but not llvm::is_trivially_copyable
11+#if 0
12 static_assert(value == std::is_trivially_copyable<T>::value,
13 "inconsistent behavior between llvm:: and std:: implementation of is_trivially_copyable");
14 #endif