llvm-project/libcxx
Mikhail Maltsev 2b89c34784 [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
2020-07-23 14:20:49 +01:00
..
benchmarks [libc++] Fix building the benchmarks after introducing a target for cxx-headers 2020-07-14 11:50:12 -04:00
cmake [libc++] Use a proper CMake target to represent libc++ headers 2020-07-14 09:52:58 -04:00
docs Reland [libcxx]Put clang::trivial_abi on smart pointers 2020-07-20 11:54:34 -04:00
fuzzing [libc++] Tolerate NaN returning random distributions for now 2019-12-12 17:11:13 -05:00
include [libc++] Make sure we only consider _GNUC_VER_NEW when the compiler is GCC 2020-07-22 16:08:19 -04:00
lib Add optimization to basic_string::assign for compile-time known constant values. 2020-06-29 14:34:34 -04:00
src [libc++] Build the dylib with C++17 to allow aligned new/delete 2020-07-22 14:47:29 -04:00
test [libcxx] Adjust trivial_abi tests for C++03 and C++11 testing 2020-07-23 14:20:49 +01:00
utils [libcxx][lit] Fix incorrect lambda capture in hasLocale checks 2020-07-23 11:19:18 +01:00
www [libc++] Implement P0551 2020-07-13 13:42:26 -04:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt Reapply "Try enabling -Wsuggest-override again, using add_compile_options instead of add_compile_definitions for disabling it in unittests/ directories." 2020-07-22 17:50:19 -07:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00