llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted
Stephan T. Lavavej baa547b996 [libcxx] [test] D27267: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 1/4.
Replace "int n = str_.size();" with "int n = static_cast<int>(str_.size());".

int is the correct type to use, because we're eventually calling
"base::pbump(n+1);" where base is std::basic_streambuf.
N4606 27.6.3.3.3 [streambuf.put.area]/4 declares: "void pbump(int n);"

llvm-svn: 288751
2016-12-06 01:14:29 +00:00
..
get.pass.cpp
get_chart.pass.cpp
get_pointer_size.pass.cpp
get_pointer_size_chart.pass.cpp
get_streambuf.pass.cpp [libcxx] [test] D27267: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 1/4. 2016-12-06 01:14:29 +00:00
get_streambuf_chart.pass.cpp [libcxx] [test] D27267: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 1/4. 2016-12-06 01:14:29 +00:00
getline_pointer_size.pass.cpp
getline_pointer_size_chart.pass.cpp
ignore.pass.cpp
ignore_0xff.pass.cpp Remove trailing whitespace in test suite. Approved by Marshall Clow. 2016-06-01 21:35:39 +00:00
peek.pass.cpp
putback.pass.cpp
read.pass.cpp
readsome.pass.cpp
seekg.pass.cpp
seekg_off.pass.cpp Remove names of unreferenced parameters. Patch from STL@microsoft.com 2016-04-28 03:17:56 +00:00
sync.pass.cpp
tellg.pass.cpp
unget.pass.cpp