[libcxx-commits] [libcxx] [libc++] Replace `__compressed_pair` with `[[no_unique_address]]` (PR #76756)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 5 09:28:06 PDT 2024


================
@@ -92,7 +92,8 @@ static_assert(TEST_ALIGNOF(unordered_set_alloc<char, final_small_iter_allocator<
 struct TEST_ALIGNAS(32) AlignedHash {};
 struct UnalignedEqualTo {};
 
-static_assert(sizeof(std::unordered_set<int, AlignedHash, UnalignedEqualTo>) == 96, "");
+// This part of the ABI has been broken between LLVM 20 and LLVM 21.
----------------
ldionne wrote:

```suggestion
// This part of the ABI has been broken between LLVM 19 and LLVM 20.
```

https://github.com/llvm/llvm-project/pull/76756


More information about the libcxx-commits mailing list