llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr
Johan Berg 68e2231f87 [libc++] Value-initialize unique_ptr's deleter_type
According to the C++ standard, the stored pointer and the stored deleter
should be value-initialized.

Differential Revision: https://reviews.llvm.org/D113612
2021-11-24 17:31:34 -05:00
..
unique.ptr.class [libc++] Value-initialize unique_ptr's deleter_type 2021-11-24 17:31:34 -05:00
unique.ptr.create [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
unique.ptr.dltr [libc++] Remove Lit annotations for unsupported GCC versions from the test suite 2021-08-12 13:30:47 -04:00
unique.ptr.special [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
README.TXT

README.TXT

Test Naming and Directory Structure
===================================

The directory structure for the unique_ptr class templates differs from the
normal test directory naming conventions (e.g. matching the stable name in the standard).

Instead of having a [unique.ptr.single] and [unique.ptr.runtime] directory,
each containing their own tests, a single directory, "unique.ptr.class",
contains both sets of tests.

This allows the common behavior of the two unique_ptr specializations to be
tested in the same place without duplication.

Tests specific to [unique.ptr.single] have the suffix ".single.pass.cpp"
and those specific to [unique.ptr.runtime] are named "*.runtime.pass.cpp".
Tests for both specializations are named normally.