| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++] Qualifies ptrdiff_t and max_align_t. This has been done using the following commands find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)ptrdiff_t)|\1std::\2|' \{} \; find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)max_align_t)|\1std::\2|' \{} \; The std module doesn't export declarations in the global namespaace., This is a preparation for that module. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D146550 | 3 年前 | |
[libc++] Remove unnecessary main() function in .compile.pass.cpp and .verify.cpp tests We pretty consistently don't define those cause they are not needed, and it removes the potential pitfall to think that these tests are being run. This doesn't touch .compile.fail.cpp tests since those should be replaced by .verify.cpp tests anyway, and there would be a lot to fix up. As a fly-by, I also fixed a bit of formatting, removed a few unused includes and made some very minor, clearly NFC refactorings such as in allocator.traits/allocator.traits.members/allocate.verify.cpp where the old test basically made no sense the way it was written. Differential Revision: https://reviews.llvm.org/D146236 | 3 年前 | |
[libc++] NFC: Tidy up the reverse_iterator tests Incidentally, that fixes an error with the modules build. | 4 年前 | |
[libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite This is a follow up to https://reviews.llvm.org/D144694. Fixes https://github.com/llvm/llvm-project/issues/60977. Differential Revision: https://reviews.llvm.org/D144775 | 2 年前 | |
[libc++] NFC: Tidy up the reverse_iterator tests Incidentally, that fixes an error with the modules build. | 4 年前 | |
[libc++] Qualifies ptrdiff_t and max_align_t. This has been done using the following commands find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)ptrdiff_t)|\1std::\2|' \{} \; find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)max_align_t)|\1std::\2|' \{} \; The std module doesn't export declarations in the global namespaace., This is a preparation for that module. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D146550 | 3 年前 | |
[libc++][ranges] Implement changes to reverse_iterator from One Ranges Proposal. Changes in [P0896](https://wg21.link/p0896): - add disable_sized_sentinel_for; - add iter_move and iter_swap; - add a requires clause to the operator->; - add iterator_concept; - check that the Iterator template parameter is a bidirectional iterator; - add constraints to all comparison operators; - change the definitions of iterator_category, value_type, difference_type and reference (changes to iterator_category were already implemented). Also add a few forgotten things to the reverse_iterator synopsis (notably the spaceship operator). Differential Revision: https://reviews.llvm.org/D120180 | 4 年前 | |
[libc++][test][NFC] Remove libcpp-no-concepts. This is no longer needed. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D122099 | 4 年前 | |
[libc++] Fix reverse_iterator::iterator_concept Fixes https://github.com/llvm/llvm-project/issues/56504 Reviewed By: ldionne, Mordante, huixie90, #libc Spies: libcxx-commits, hewillk Differential Revision: https://reviews.llvm.org/D129794 | 3 年前 |