[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 Jul 25 08:34:20 PDT 2024


================
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: libcpp-abi-version=1
----------------
ldionne wrote:

```suggestion
// UNSUPPORTED: libcpp-abi-has-no-compressed-pair-padding
```

And then introduce `libcpp-abi-has-no-compressed-pair-padding` in `features.py` like we do for other ABI macros. We should probably get rid of the `libcpp-abi-version` Lit feature altogether since we do pretty much everything based on the individual ABI macros nowadays.

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


More information about the libcxx-commits mailing list