[all-commits] [llvm/llvm-project] 3865e0: [libc++] Remove redundant assertion in std::span::...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Apr 14 08:20:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3865e084b2ef9908bdca519b90f02ddde737a4a3
https://github.com/llvm/llvm-project/commit/3865e084b2ef9908bdca519b90f02ddde737a4a3
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M libcxx/include/span
M libcxx/test/libcxx/containers/views/views.span/span.sub/assert.subspan.pass.cpp
Log Message:
-----------
[libc++] Remove redundant assertion in std::span::subspan
That is already checked later in the function as `__count <= size() - __offset`.
rdar://107884996
Differential Revision: https://reviews.llvm.org/D148030
More information about the All-commits
mailing list