diff options
| author | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2020-07-23 14:20:30 +0100 |
|---|---|---|
| committer | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2020-07-23 14:20:49 +0100 |
| commit | 2b89c34784fa52b2948d79f31a375011c0218804 (patch) | |
| tree | 43910f75da0803aa4db763923db8a264a2a0fd88 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | b35833b84e95c42ca7166232e193b2b8e221b56a (diff) | |
[libcxx] Adjust trivial_abi tests for C++03 and C++11 testing
This change replaces std::make_unique with manual construction of
std::unique_ptr to make the tests compatible with C++11
(std::make_unique is a C++14 feature).
libc++ supports std::unique_ptr and std::shared_ptr even in C++03 but
with some limitations: unique_ptr_array.pass.cpp and
shared_ptr_arg.pass.cpp fail to compile in C++03 mode and need to be
disabled.
Differential Revision: https://reviews.llvm.org/D84394
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
