[libcxx-commits] [libcxx] [libc++] Diagnoses insufficiently aligned pointers for std::assume_aligned during constant evaluation (PR #73775)

Rajveer Singh Bharadwaj via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 29 11:00:55 PST 2023


Rajveer100 wrote:

> The implementation itself looks good, but we should test this change with a `.verify.cpp` test.

@philnik777 
There already exists a test file for this:

```
libcxx/test/libcxx/utilities/memory/ptr.align/assume_aligned.power2.verify.cpp
```

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


More information about the libcxx-commits mailing list