[libcxx-commits] [libcxx] [libc++][ABI BREAK] Make std::pair trivially copyable if its members are (PR #89652)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 25 09:24:58 PDT 2024
================
@@ -0,0 +1,32 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03 || !clang && (c++11 || c++14 || c++17)
----------------
ldionne wrote:
```suggestion
// UNSUPPORTED: gcc && (c++11 || c++14 || c++17)
// XFAIL: !libcpp-abi-whatever-trivially-copyable-pair
```
Those should be the only configurations where this test doesn't pass. Or even better, pin down the ABI of pair all the time in this test.
https://github.com/llvm/llvm-project/pull/89652
More information about the libcxx-commits
mailing list