llvm-project/libcxx/test/std/utilities/optional
Stephan T. Lavavej f41847c401 [libcxx] [test] D27268: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 2/4.
Use static_cast<int> when storing size_t in int (or passing size_t to int).

Also, remove a spurious semicolon in test/support/archetypes.hpp.

test/support/count_new.hpp
Additionally, change data members (and parameters) to size_t.

llvm-svn: 288752
2016-12-06 01:14:43 +00:00
..
optional.bad_optional_access Implement N4606 optional 2016-10-12 07:46:20 +00:00
optional.comp_with_t Implement N4606 optional 2016-10-12 07:46:20 +00:00
optional.hash Implement N4606 optional 2016-10-12 07:46:20 +00:00
optional.nullops Implement N4606 optional 2016-10-12 07:46:20 +00:00
optional.nullopt Implement N4606 optional 2016-10-12 07:46:20 +00:00
optional.object Add more tests for optional<const T> 2016-10-28 06:40:29 +00:00
optional.relops Implement N4606 optional 2016-10-12 07:46:20 +00:00
optional.specalg [libcxx] [test] D27268: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 2/4. 2016-12-06 01:14:43 +00:00
optional.syn Implement N4606 optional 2016-10-12 07:46:20 +00:00