llvm/libcxx
Louis Dionne fd66b44ec1 [libc++] Add an assertion in the subrange constructors with a size hint
Those constructors are very easy to misuse -- one could easily think that
the size passed to the constructor is the size of the range to exhibit
from the subrange. Instead, it's a size hint and it's UB to get it wrong.
Hence, when it's cheap to compute the real size of the range, it's cheap
to make sure that the user didn't get it wrong.

Differential Revision: https://reviews.llvm.org/D108827
2021-09-03 16:04:02 -04:00
..
benchmarks [test] Migrate -gcc-toolchain with space separator to --gcc-toolchain= 2021-08-20 15:24:58 -07:00
cmake [libc++] Disable incomplete library features. 2021-07-27 22:37:35 +02:00
docs [libc++][docs] Remove "Last Updated" entries from the docs 2021-09-02 13:02:49 -04:00
include [libc++] Add an assertion in the subrange constructors with a size hint 2021-09-03 16:04:02 -04:00
lib [libc++][NFC] Add missing commits to the ABI changelog 2021-07-20 09:19:52 -04:00
src [libc++] Remove some workarounds for unsupported GCC and Clang versions 2021-09-01 10:57:14 -04:00
test [libc++] Add an assertion in the subrange constructors with a size hint 2021-09-03 16:04:02 -04:00
utils [libc++] Remove support for CloudABI, which has been abandoned 2021-08-24 14:11:32 -04:00
.clang-format
.gitignore
appveyor-reqs-install.cmd
appveyor.yml
CMakeLists.txt [libc++] Remove workarounds for [[nodebug]] not working properly on typedefs in older Clangs 2021-09-01 10:51:09 -04:00
CREDITS.TXT [libc++] Update credits.txt per coment on D108263 2021-08-20 08:42:36 -04:00
LICENSE.TXT
TODO.TXT [libcxx][docs] Remove completed issues from TODO.TXT 2021-09-01 08:22:23 -04:00