llvm-project/libcxx/test/libcxx
Louis Dionne 8ae404a2f6 [libc++] Make sure std::is_scalar returns true for block types
Summary:
The compiler already treats them as scalar types, so the library should
too. Furthermore, this allows blocks to be used in more places, for
example in std::optional, which requires an object type.

rdar://problem/57892832

Reviewers: dexonsmith, EricWF, mclow.lists
Differential Revision: https://reviews.llvm.org/D72708
2020-01-21 17:15:15 -08:00
..
algorithms libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
atomics Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
containers [libc++] Rework compressed pair constructors. 2019-12-16 18:38:58 -05:00
debug add tests that debug mode catches nullptr->string_view conversions in comparison operators 2019-09-25 18:43:40 +00:00
depr Fix tests with modules enabled 2019-07-29 22:48:51 +00:00
diagnostics [libc++] Purge mentions of GCC 4 from the test suite 2019-09-25 19:40:48 +00:00
experimental libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
extensions Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
fuzzing [libcxx] Fix include paths in fuzzing/partial_sort.pass.cpp 2019-12-17 11:48:19 +00:00
input.output [libc++][NFC] Remove excess trailing newlines from most files 2019-10-23 08:08:57 -07:00
iterators Rename __is_foo_iterator traits to reflect their Cpp17 nature. 2019-11-18 01:49:32 -05:00
language.support [libc++] Mark libcpp_deallocate.sh.cpp as UNSUPPORTED instead of XFAIL on AppleClang 9 2019-07-19 19:41:40 +00:00
localization Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
memory Add default initialization to compressed_pair. 2019-12-16 17:14:02 -05:00
modules [libc++][libc++abi] Fix or suppress failing tests in single-threaded 2020-01-19 21:49:14 -05:00
numerics [NFC] Strip trailing whitespace from libc++ 2019-10-23 11:19:19 -07:00
selftest Support tests in freestanding 2019-02-04 20:31:13 +00:00
strings [libcxx] Codesign test executables if necessary 2019-09-05 21:24:23 +00:00
thread Mark [[nodiscard]] test as unsupported with GCC 5 2019-09-13 19:09:29 +00:00
type_traits [libc++] Make sure std::is_scalar returns true for block types 2020-01-21 17:15:15 -08:00
utilities [libc++] Make sure std::is_scalar returns true for block types 2020-01-21 17:15:15 -08:00
double_include.sh.cpp [libc++] Take 2: Integrate the PSTL into libc++ 2019-08-05 18:29:14 +00:00
include_as_c.sh.cpp Add fenv.h header 2019-02-11 23:47:19 +00: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.sh.cpp [libc++] Add <filesystem> to the min-mac macro header test 2019-02-26 23:14:58 +00: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.sh.cpp [libcxx] Do not implicitly #include assert.h 2019-09-26 11:12:29 +00:00