Content-Length: 16979 | pFad | http://fuchsia.googlesource.com/third_party/libcxx/+/193f1880bdb5404089fb03faf6ff2207bff44deb
commit | 193f1880bdb5404089fb03faf6ff2207bff44deb | [log] [tgz] |
---|---|---|
author | Casey Carter <Casey@Carter.net> | Wed Oct 09 22:19:17 2019 +0000 |
committer | Casey Carter <Casey@Carter.net> | Wed Oct 09 22:19:17 2019 +0000 |
tree | 4be0b1c0957a90b834a4f660f6ffb4b88cd2cae0 | |
parent | da6e915c73f231074dc88f8a952a8273da0ca06b [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@374248 91177308-0d34-0410-b5e6-96231b3b80d8
Fetched URL: http://fuchsia.googlesource.com/third_party/libcxx/+/193f1880bdb5404089fb03faf6ff2207bff44deb
Alternative Proxies: