[libcxx-commits] [libcxx] [libc++] Increase `atomic_ref`'s required alignment for small types (PR #99654)

James Y Knight via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 24 15:10:18 PDT 2024


jyknight wrote:

OK, to fix it, I think we just need:
```
  typedef _Tp _Aligned_Tp __attribute__((aligned(required_alignment)))`, 
  _Aligned_Tp* __ptr_;
```
(moving decls around as needed)

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


More information about the libcxx-commits mailing list