| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++][PSTL] Implement std::rotate_copy Reviewed By: #libc, ldionne Spies: ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D155025 | 2 年前 | |
[libc++] Fix copy-paste damage in ranges::rotate_copy and its test (#74544) Found while running libc++'s tests with MSVC's STL. ranges::rotate_copy takes forward_iterators as this test's comment banner correctly depicts. However, this test had bogus assertions expecting that ranges::rotate_copy would be constrained away for not-quite-**bidi** iterators. @philnik777 confirmed that these were copy-paste relics from the ranges::reverse_copy test. I fixed this by replacing the assertions with the test types that aren't quite **forward** iterators/ranges. Additionally, I noticed that the top-level test() function was missing coverage with the weakest possible forward_iterator<int*>. This revealed that the product code in ranges_rotate_copy.h was similarly damaged. In addition to fixing it by taking forward_iterator and forward_range as depicted in the Standard, this drops the inclusion of <__iterator/reverse_iterator.h> as this algorithm doesn't need std::__reverse_range. | 2 年前 | |
[libc++] Qualifies size_t. This has been done using the following command find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)size_t)|\1std::\2|' \{} \; And manually removed some false positives in std/depr/depr.c.headers. The std module doesn't export ::size_t, this is a preparation for that module. Reviewed By: ldionne, #libc, EricWF, philnik Differential Revision: https://reviews.llvm.org/D146088 | 3 年前 | |
[libc++] Remove test-suite annotations for unsupported Clang versions Differential Revision: https://reviews.llvm.org/D108471 | 4 年前 | |
[libc++] Qualifies size_t. This has been done using the following command find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)size_t)|\1std::\2|' \{} \; And manually removed some false positives in std/depr/depr.c.headers. The std module doesn't export ::size_t, this is a preparation for that module. Reviewed By: ldionne, #libc, EricWF, philnik Differential Revision: https://reviews.llvm.org/D146088 | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 3 年前 |