[libcxx-commits] [PATCH] D99834: Don't check that std::pair is trivially copyable on FreeBSD
Dimitry Andric via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Apr 4 04:14:29 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6fbbb093aea5: Don't check that std::pair is trivially copyable on FreeBSD (authored by dim).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99834/new/
https://reviews.llvm.org/D99834
Files:
llvm/unittests/Support/TypeTraitsTest.cpp
Index: llvm/unittests/Support/TypeTraitsTest.cpp
===================================================================
--- llvm/unittests/Support/TypeTraitsTest.cpp
+++ llvm/unittests/Support/TypeTraitsTest.cpp
@@ -110,7 +110,9 @@
TrivialityTester<llvm::SmallString<8>, false, false>();
TrivialityTester<std::function<int()>, false, false>();
+#if !defined(_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR)
TrivialityTester<std::pair<int, bool>, true, true>();
+#endif
TrivialityTester<llvm::unique_function<int()>, false, false>();
TrivialityTester<llvm::StringRef, true, true>();
TrivialityTester<llvm::ArrayRef<int>, true, true>();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99834.335141.patch
Type: text/x-patch
Size: 658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210404/1333e885/attachment.bin>
More information about the libcxx-commits
mailing list