Arthur O'Dwyer 6e965df605 Revert "Revert "[libc++] ADL-proof <vector> by adding _VSTD:: qualification on calls.""
This reverts commit 620adacf87a376ec536ccc66af59df5bb4dc3b38.

Fix: unsupport C++03 for the new test, define helpers before __swap_allocator

(1) Add _VSTD:: qualification to __swap_allocator.

(2) Add _VSTD:: qualification consistently to __to_address.

(3) Add some more missing _VSTD:: to <vector>, with a regression test.
This part is cleanup after d9a4f936d05.

Note that a vector whose allocator actually runs afoul of any of these ADL calls will
likely also run afoul of simple things like `v1 == v2` (which is also an ADL call).
But, still, libc++ should be consistent in qualifying function calls wherever possible.

Relevant blog post: https://quuxplusone.github.io/blog/2019/09/26/uglification-doesnt-stop-adl/

Differential Revision: https://reviews.llvm.org/D91708
2020-11-20 20:59:18 -05:00
..
2020-11-15 16:17:52 +01:00
2020-09-29 17:10:07 -07:00
2020-04-08 18:00:13 -04:00
2019-07-01 16:13:31 +00:00
2020-06-19 14:25:02 +05:30
2019-12-21 01:26:24 -08:00
2020-05-20 14:34:21 -04:00
2019-05-29 16:01:36 +00:00
2020-09-02 21:21:24 +02:00
2020-09-02 21:21:24 +02:00