llvm-project/libcxx/test
Billy Robert O'Neal III 362ea7329f Fix possible loss of data warnings on amd64
In T_size_size.pass, there is an explicit template argument to std::min to ask
for unsigned, to avoid type deduction errors. However, C1XX' warnings still
hate this use, because a 64 bit value (a size_t) is being passed to a function
accepting an unsigned (a 32 bit value).

Instead, change the tests to pass around std::size_t instances, and explicitly
narrow when constructing the string type under test. This also allows
removal of explicit template arguments to std::min.

llvm-svn: 302473
2017-05-08 21:54:53 +00:00
..
libcxx [libc++] Implement exception_ptr on Windows 2017-05-08 01:17:50 +00:00
std Fix possible loss of data warnings on amd64 2017-05-08 21:54:53 +00:00
support [libcxx] [test] Suppress MSVC's /analyze warning C6294 in a more fine-grained manner. 2017-05-05 23:51:39 +00:00
CMakeLists.txt fix test coverage capture dirs 2017-03-11 05:28:09 +00:00
lit.cfg Move libcxx/test/libcxx python package into libcxx/utils/libcxx. 2017-02-09 23:18:11 +00:00
lit.site.cfg.in [libc++][CMake] Use debug MSVC runtimes when libc++ is built in debug mode 2017-01-14 07:54:39 +00:00
nothing_to_do.pass.cpp Test commit: Reverting whitespace changes 2014-07-17 05:10:03 +00:00