[libcxx-commits] [PATCH] D155349: [libc++][hardening] Categorize most assertions inside the container classes.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 14 17:01:16 PDT 2023


var-const created this revision.
Herald added a project: All.
var-const requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This introduces:

- `_LIBCPP_ASSERT_VALID_INPUT_RANGE`;
- `_LIBCPP_ASSERT_VALID_CONTAINER_ACCESS`;
- `_LIBCPP_ASSERT_VALID_ITERATOR_ACCESS`;
- `_LIBCPP_ASSERT_VALID_ALLOCATOR`;
- `_LIBCPP_ASSERT_INTERNAL`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155349

Files:
  libcxx/include/__config
  libcxx/include/__expected/expected.h
  libcxx/include/__functional/function.h
  libcxx/include/__iterator/bounded_iter.h
  libcxx/include/__mdspan/extents.h
  libcxx/include/__tree
  libcxx/include/array
  libcxx/include/deque
  libcxx/include/list
  libcxx/include/map
  libcxx/include/optional
  libcxx/include/span
  libcxx/include/string
  libcxx/include/string_view
  libcxx/include/unordered_map
  libcxx/include/unordered_set
  libcxx/include/vector

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155349.540599.patch
Type: text/x-patch
Size: 68637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230715/eccf0653/attachment-0001.bin>


More information about the libcxx-commits mailing list