mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 05:09:01 +08:00
099507df39
* [llvm] update to 13.0.0 * add version * [llvm] rework processing of the CMake packages * update versions * [llvm] return patch to fix config paths * update version * [llvm] allow to build Flang on Windows * add version * [llvm] temporary enable Flang by default for test * update version * [llvm] fix Flang installation * update version * [llvm] try to fix Flang build * update version * [llvm] remove Flang from defaults and use Perl path * [halide] update to 13.0.0 * update versions * [mesa] update to v21.2.5 and fix build with LLVM 13 * [llvm] use version * update versions * [opencv4] fix build with Halide 13 * update version * update ci.baseline * [halide] update usage file * [llvm] update supports * update versions * [vcpkg-ci-llvm] add test port * [vcpkg-ci-llvm] rework test port * [vcpkg-ci-llvm] test more features * [halide] update to v13.0.1 * update version * [mesa] recover port version * update versions * [opencv4] update version * update version * Update opencv4.json * [halide] update to v13.0.2 and fix usage * update version * Update ports/halide/portfile.cmake Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * update version * enable LLVM ABI breaking checks to avoid Halide build fail Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
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
|