llvm-project/libcxx/test/std/utilities
Casey Carter b2e3c83b0d [libc++][test] Miscellaneous MSVC cleanups
* Silence unused-local-typedef warnings: `map.cons/assign_initializer_list.pass.cpp` (and the `set.cons` variant) uses a local typedef only within `LIBCPP_ASSERT`s, so clang diagnoses it as unused when testing non-libc++.
* Add missing include: `c.math/abs.pass.cpp` uses `std::numeric_limits` but failed to `#include <limits>`.
* Don't test non-type: A "recent" change to `meta.trans.other/underlying_type.pass.cpp` unconditionally tests the type `F` which is conditionally defined.
* Use `hash<long long>` instead of `hash<short>` with `int` in `unordered_meow` deduction guide tests to avoid truncation warnings.
* Convert `3.14` explicitly in `midpoint.float.pass` since MSVC incorrectly diagnoses `float meow = 3.14;` as truncating.

Differential Revision: https://reviews.llvm.org/D68681

llvm-svn: 374248
2019-10-09 22:19:17 +00:00
..
allocator.adaptor libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
any libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
charconv [libc++] Fix leading zeros in std::to_chars 2019-06-10 17:11:46 +00:00
function.objects [libc++] Purge mentions of GCC 4 from the test suite 2019-09-25 19:40:48 +00:00
intseq 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 [libc++] Take 2: Implement LWG 2510 2019-09-26 14:51:10 +00:00
meta [libc++][test] Miscellaneous MSVC cleanups 2019-10-09 22:19:17 +00:00
optional libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
ratio 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
smartptr/unique.ptr Use C++11 implementation of unique_ptr in C++03. 2019-06-23 20:47:21 +00:00
template.bitset libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
time [libc++] Disable <chrono> ""d and ""y literal tests on AppleClang 10.0.0 2019-08-20 16:45:27 +00:00
tuple [libc++] Take 2: Implement LWG 3158 2019-09-27 15:06:52 +00:00
type.index libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
utilities.general
utility [libc++] Take 2: Implement LWG 2510 2019-09-26 14:51:10 +00:00
utility.requirements
variant libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
nothing_to_do.pass.cpp