commit | ed04d17a178f35797d2e194f8eafdb1157c4ee37 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Mon Jun 01 16:35:42 2020 -0400 |
committer | Louis Dionne <ldionne@apple.com> | Mon Jun 01 16:37:39 2020 -0400 |
tree | 549928431c6feac391cb2462655c0fdd763d87e1 | |
parent | 7e10cd29bcab830dcbfbd12af772bc4f04034e16 [diff] |
[libc++] Add assertions on OOB accesses in std::array when the debug mode is enabled Like we do for empty std::array, make sure we have assertions in place for obvious out-of-bounds issues in std::array when the debug mode is enabled (which isn't by default). Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/llvm/llvm-project Cr-Mirrored-Commit: 23776a178f8379e1d9b4d79952bac916c1fa70fe