llvm-project/libcxx/test/std/containers/sequences/vector/vector.special
Mark de Wever 56df1d80e2 [libc++] Use addressof in vector.
This addresses the usage of `operator&` in `<vector>`.

I now added tests for the current offending cases. I wonder whether it
would be better to add one addressof test per directory and test all
possible violations. Also to guard against possible future errors?

(Note there are still more headers with the same issue.)

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D111961
2021-10-21 17:28:17 +02:00
..
swap.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
swap.pass.cpp
swap_noexcept.pass.cpp