[libcxx-commits] [libcxx] [libc++][hardening] Categorize more assertions. (PR #75918)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 22 12:11:23 PST 2023
================
@@ -160,7 +160,7 @@ class _LIBCPP_TEMPLATE_VIS __parser_chrono {
private:
_LIBCPP_HIDE_FROM_ABI constexpr _ConstIterator
__parse_chrono_specs(_ConstIterator __begin, _ConstIterator __end, __flags __flags) {
- _LIBCPP_ASSERT_UNCATEGORIZED(
+ _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
----------------
mordante wrote:
This should be internal. Using an empty format-spec is valid.
```suggestion
_LIBCPP_ASSERT_INTERNAL(
```
https://github.com/llvm/llvm-project/pull/75918
More information about the libcxx-commits
mailing list