[all-commits] [llvm/llvm-project] 23776a: [libc++] Add assertions on OOB accesses in std::ar...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Jun 1 13:38:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 23776a178f8379e1d9b4d79952bac916c1fa70fe
      https://github.com/llvm/llvm-project/commit/23776a178f8379e1d9b4d79952bac916c1fa70fe
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M libcxx/include/array

  Log Message:
  -----------
  [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).




More information about the All-commits mailing list