llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted
Volodymyr Sapsai a051024cac [libcxx] Make std::basic_istream::get 0-terminate input array in case of error.
It covers the cases when the sentry object returns false and when an exception
was thrown. Corresponding standard paragraph is C++14 [istream.unformatted]p9:
  [...] In any case, if n is greater than zero it then stores a null
  character into the next successive location of the array.

rdar://problem/35566567

Reviewers: EricWF, mclow.lists

Reviewed By: mclow.lists

Subscribers: cfe-commits

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

llvm-svn: 322326
2018-01-11 23:23:49 +00:00
..
get.pass.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
get_chart.pass.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
get_pointer_size.pass.cpp [libcxx] Make std::basic_istream::get 0-terminate input array in case of error. 2018-01-11 23:23:49 +00:00
get_pointer_size_chart.pass.cpp [libcxx] Make std::basic_istream::get 0-terminate input array in case of error. 2018-01-11 23:23:49 +00:00
get_streambuf.pass.cpp [libcxx] [test] Rename __c to ch. NFCI. 2017-08-11 20:54:01 +00:00
get_streambuf_chart.pass.cpp [libcxx] [test] Rename __c to ch. NFCI. 2017-08-11 20:54:01 +00:00
getline_pointer_size.pass.cpp [libcxx][fixup] Mark std::basic_istream::getline tests as failing for previous libcxx versions. 2017-11-22 19:36:54 +00:00
getline_pointer_size_chart.pass.cpp [libcxx][fixup] Mark std::basic_istream::getline tests as failing for previous libcxx versions. 2017-11-22 19:36:54 +00:00
ignore.pass.cpp
ignore_0xff.pass.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
peek.pass.cpp
putback.pass.cpp
read.pass.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
readsome.pass.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
seekg.pass.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
seekg_off.pass.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
sync.pass.cpp
tellg.pass.cpp
unget.pass.cpp