Marshall Clow
f43a42d53e
Noticed that std::allocator<const T> was missing the definition for is_always_equal. Fixed this, and added a test for it.
...
llvm-svn: 241190
2015-07-01 21:23:40 +00:00
Marshall Clow
55112defb0
Fix PR#18843. Thanks to Howard for the fix
...
llvm-svn: 240136
2015-06-19 15:54:13 +00:00
Marshall Clow
31a4731370
Implement the first part of N4258 - allocator_traits<X>::is_always_equal. Also fixes PR#23723
...
llvm-svn: 238848
2015-06-02 16:34:03 +00:00
Marshall Clow
a7fb9a041d
Fix PR#23647 - make_shared<volatile bool> - second try
...
llvm-svn: 238370
2015-05-27 22:44:47 +00:00
Marshall Clow
188b98b505
Revert 238354 while I figure out what broke in weak_ptr
...
llvm-svn: 238355
2015-05-27 20:36:14 +00:00
Marshall Clow
263a0f7681
Fix PR#23647 - make_shared<volatile bool>
...
llvm-svn: 238354
2015-05-27 20:15:33 +00:00
Marshall Clow
a00932bddb
Implement LWG2433: uninitialized_copy()/etc. should tolerate overloaded operator&
...
llvm-svn: 237699
2015-05-19 15:01:48 +00:00
Marshall Clow
c34f847b80
Fix for LWG Issue 2415: Inconsistency between unique_ptr and shared_ptr
...
llvm-svn: 236953
2015-05-10 13:59:45 +00:00
Marshall Clow
783b372a58
Fix for LWG2454: Add raw_storage_iterator::base() member
...
llvm-svn: 236948
2015-05-10 13:14:08 +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
Eric Fiselier
c281a7a19f
Get tests running with warnings. Fix warnings in headers and tests
...
llvm-svn: 228344
2015-02-05 20:28:37 +00:00
Jonathan Roelofs
eb7b5e74d4
Rename system_lib -> system_cxx_lib. NFC
...
llvm-svn: 226061
2015-01-14 23:38:12 +00:00
Marshall Clow
e21582e742
Walter Brown sent a list of tests which needed 'additional includes' to match what was in the standard. Added these includes to the tests. No changes to the library or test results.
...
llvm-svn: 225541
2015-01-09 20:25:52 +00:00
Marshall Clow
842b4aecf8
Add tests to check the typedefs from the result of std::owner_less
...
llvm-svn: 225381
2015-01-07 20:54:51 +00:00
Eric Fiselier
2cbc654d93
[libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers.
...
Summary:
MSAN and ASAN also replace new/delete which leads to a link error in these tests. Currently they are unsupported but I think it would be useful if these tests could run with sanitizers.
This patch creates a support header that consolidates the new/delete replacement functionality and checking.
When we are using sanitizers new and delete are no longer replaced and the checks always return true.
Reviewers: mclow.lists, danalbert, jroelofs, EricWF
Reviewed By: EricWF
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6562
llvm-svn: 224741
2014-12-22 22:38:59 +00:00
Eric Fiselier
5a83710e37
Move test into test/std subdirectory.
...
llvm-svn: 224658
2014-12-20 01:40:03 +00:00