diff options
author | Billy Robert O'Neal III <bion@microsoft.com> | 2019-04-03 00:05:49 +0000 |
---|---|---|
committer | Billy Robert O'Neal III <bion@microsoft.com> | 2019-04-03 00:05:49 +0000 |
commit | 7b9e4ebb033e706935a8b497256726f0f0d66f99 (patch) | |
tree | 3901e181534b20422982b9dbc29545dc075d0a37 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 16683a3ef81a598a249b89c4ef7aa283f4979d83 (diff) | |
download | bcm5719-llvm-7b9e4ebb033e706935a8b497256726f0f0d66f99.tar.gz bcm5719-llvm-7b9e4ebb033e706935a8b497256726f0f0d66f99.zip |
[libcxx] [test] Fix test bugs in string.cons/copy_alloc.pass.cpp.
Fixed the inability to properly rebind the testing allocator, by making the
inner alloc_impl type a plain struct and making the operations templates. Before
rebind failed to compile complaining that a alloc_impl<T>* was not convertible
to an alloc_impl<U>*.
This enables the test to pass for MSVC++ once we provide the strong guarantee
for the copy assignment operator.
Reviewed as https://reviews.llvm.org/D60023
llvm-svn: 357545
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions