Eric Fiselier
1c81340797
Recommit rL245802: Cleanup fancy pointer rebinding in list using __rebind_pointer.
...
Currently we need an #ifdef branch every time we use pointer traits to rebind a pointer because
it is done differently in C++11 and C++03. This patch introduces the __rebind_pointer utility to
clean this up.
Also add a test that list and it's iterators can be instantiated with incomplete element types.
llvm-svn: 245806
2015-08-23 02:56:05 +00:00
Marshall Clow
e3fbe1433b
Implement the first part of N4258: 'Cleaning up noexcept in the Library'. This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates.
...
llvm-svn: 242056
2015-07-13 20:04:56 +00:00
Eric Fiselier
4b7533a1dd
Use generic feature name for sanitizers that replace new and delete
...
llvm-svn: 231841
2015-03-10 20:46:04 +00:00
Marshall Clow
949389c395
We had two identical files named 'MoveOnly.h' in the test suite. Move one to support/, remove the other, and update all the tests that included them. No functionality change.
...
llvm-svn: 227370
2015-01-28 21:22:53 +00:00
Marshall Clow
00f792e19e
Added test for incomplete type support in vector/list/forward_list. References PR#17980
...
llvm-svn: 227131
2015-01-26 20:06:52 +00:00
Eric Fiselier
5a83710e37
Move test into test/std subdirectory.
...
llvm-svn: 224658
2014-12-20 01:40:03 +00:00