[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 Jan 25 09:23:51 PST 2024


================
@@ -145,15 +198,20 @@ int main(int, char**) {
   test<TrivialNonEmptyType, NonTrivialAlloc>();
 
   test<FinalEmptyType, TrivialEmptyAlloc>();
-  test<FinalEmptyType, TrivialNonEmptyAlloc>();
-  test<FinalEmptyType, FinalEmptyAlloc>();
-  test<FinalEmptyType, NonTrivialAlloc>();
+  // test<FinalEmptyType, TrivialNonEmptyAlloc>();
----------------
ldionne wrote:

Leftover? I would leave behind a comment that we know `FinalEmptyType` not to pass this test when the allocators are X, Y and Z.

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


More information about the libcxx-commits mailing list