llvm-project/libcxx/test
Louis Dionne b5abd50f06 [libc++] span: Guard against overflow in span::subspan
The calculation _Offset + _Count <= size() may overflow, so use
_Count <= size() - _Offset instead. Note that this is safe due to
the previous constraint that _Offset <= size().

Patch by Michael Schellenberger Costa.

Differential Revision: https://reviews.llvm.org/D71998
2020-02-12 16:21:46 +01:00
..
libcxx [libc++] Disable a filesystem test that uses debug mode with the macOS system libc++ 2020-02-11 14:57:14 +01:00
pretty_printers [libcxx] Add a std::string_view pretty printer for libcxx. 2020-01-29 13:04:29 -05:00
std [libc++] span: Guard against overflow in span::subspan 2020-02-12 16:21:46 +01:00
support [libcxx] [test] Update msvc_stdlib_force_include.h. 2020-01-31 16:38:01 -08:00
CMakeLists.txt Revert "[libcxx] Force-cache LIBCXX_CXX_ABI_LIBRARY_PATH" 2020-02-03 11:03:58 +01: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 [libcxx] Codesign test executables if necessary 2019-09-05 21:24:23 +00:00
nothing_to_do.pass.cpp force the bots to cycle 2019-05-09 02:34:37 +00:00