llvm-project/libcxx/test/std/containers/sequences/vector/vector.modifiers
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
..
clear.pass.cpp
emplace.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
emplace.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
emplace_back.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
emplace_extra.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
erase_iter.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
erase_iter.pass.cpp [libc++] Add a regression test for erasing from a vector 2020-09-29 12:19:05 -04:00
erase_iter_iter.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
erase_iter_iter.pass.cpp
insert_iter_initializer_list.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
insert_iter_iter_iter.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
insert_iter_iter_iter.pass.cpp [libcxx][nfc] prefixes test type `input_iterator` with `cpp17_` 2021-05-02 05:02:59 +00:00
insert_iter_rvalue.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
insert_iter_rvalue.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
insert_iter_size_value.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
insert_iter_size_value.pass.cpp
insert_iter_value.addressof.compile.pass.cpp [libc++] Use addressof in vector. 2021-10-21 17:28:17 +02:00
insert_iter_value.pass.cpp
pop_back.pass.cpp
push_back.pass.cpp
push_back_exception_safety.pass.cpp
push_back_rvalue.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
resize_not_move_insertable.fail.cpp [libc++] Remove Lit annotations for unsupported GCC versions from the test suite 2021-08-12 13:30:47 -04:00