[all-commits] [llvm/llvm-project] 4c4606: [libc++] Add missing assertion in std::span constr...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Dec 9 08:51:28 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c4606a743d26ebe5fdd84e953254627a459a991
https://github.com/llvm/llvm-project/commit/4c4606a743d26ebe5fdd84e953254627a459a991
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-12-09 (Mon, 09 Dec 2024)
Changed paths:
M libcxx/include/span
M libcxx/test/libcxx/containers/views/views.span/span.cons/assert.iter_size.pass.cpp
Log Message:
-----------
[libc++] Add missing assertion in std::span constructor (#118396)
The (iterator, size) constructor should ensure that it gets passed a
valid range when the size is not 0.
Fixes #107789
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list