forked from OSchip/llvm-project
![]() Replace `&__rhs` with `_VSTD::addressof(__rhs)` to guard against ADL hijacking of `operator&` in `operator=`. Thanks to @CaseyCarter for bringing it to our attention. Similar issues with hijacking `operator&` still exist, they will be addressed separately. Reviewed By: #libc, Quuxplusone, ldionne Differential Revision: https://reviews.llvm.org/D110852 |
||
---|---|---|
.. | ||
assign_copy.addressof.compile.pass.cpp | ||
assign_copy.pass.cpp | ||
assign_move.pass.cpp | ||
back.pass.cpp | ||
back_const.pass.cpp | ||
emplace.pass.cpp | ||
empty.pass.cpp | ||
empty.verify.cpp | ||
front.pass.cpp | ||
front_const.pass.cpp | ||
pop.pass.cpp | ||
push.pass.cpp | ||
push_rv.pass.cpp | ||
size.pass.cpp | ||
swap.pass.cpp | ||
types.compile.fail.cpp | ||
types.pass.cpp |