llvm-project/libcxx/test/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
..
algorithms [libc++] Remove assertion in year_month_day_last::day() 2020-06-09 10:46:13 -04:00
atomics [libc++] Link against libatomic when it is found 2020-06-05 09:28:44 -04:00
containers [libc++] Add missing include in test 2020-06-30 14:16:47 -04:00
debug [libc++] Mark some tests as unsupported on GCC 5 2020-07-08 12:02:36 -04:00
depr [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
diagnostics [libc++] Mark some tests as unsupported on GCC 5 2020-07-08 12:02:36 -04:00
experimental [libc++] Fix test failure in C++03 mode 2020-07-09 13:05:22 -04:00
extensions [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
fuzzing [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
input.output [libc++] Get rid of the %{libcxx_src_root} substitution 2020-07-09 15:17:47 -04:00
iterators [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
language.support [libc++] Consider everything inside %T to be a dependency of each test 2020-06-10 22:38:05 -04:00
localization [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
memory [libcxx] Adjust trivial_abi tests for C++03 and C++11 testing 2020-07-23 14:20:49 +01:00
modules [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
numerics [libc++] Remove obsolete 'newlib' Lit Feature 2020-06-12 14:08:18 -04:00
selftest [libc++] Improve how we report the testing configuration 2020-07-16 15:10:17 -04:00
strings [libc++/libc++abi] Automatically detect whether exceptions are enabled 2020-07-03 14:58:09 -04:00
thread [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
type_traits [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
utilities [libc++] Mark some tests as unsupported on GCC 5 2020-07-08 12:02:36 -04:00
double_include.sh.cpp [libc++] Mark some tests as unsupported on GCC 5 2020-07-08 12:02:36 -04:00
include_as_c.sh.cpp [libc++] Translate MODULES_DEFINES annotations to ADDITIONAL_COMPILE_FLAGS 2020-04-07 14:40:49 -04:00
libcpp_alignof.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
libcpp_version.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
min_max_macros.compile.pass.cpp [libc++] Mark some tests as unsupported on GCC 5 2020-07-08 12:02:36 -04:00
minimal_cxx11_configuration.pass.cpp Add documentation and tests for Clangs C++11 extensions in C++03. 2019-06-11 22:53:49 +00:00
no_assert_include.compile.pass.cpp [libc++] Mark some tests as unsupported on GCC 5 2020-07-08 12:02:36 -04:00