| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libcxx][nfc] prefixes test type input_iterator with cpp17_ C++20 revised the definition of what it means to be an iterator. While all _Cpp17InputIterators_ satisfy std::input_iterator, the reverse isn't true. D100271 introduces a new test adaptor to accommodate this new definition (cpp20_input_iterator). In order to help readers immediately distinguish which input iterator adaptor is _Cpp17InputIterator_, the current input_iterator adaptor has been prefixed with cpp17_. Differential Revision: https://reviews.llvm.org/D101242 | 5 年前 | |
[libc++] [P0879] constexpr std::reverse, partition, *_permutation. After this patch, the only parts of P0879 that remain missing will be std::nth_element, std::sort, and the heap/partial_sort algorithms. Differential Revision: https://reviews.llvm.org/D93443 | 5 年前 | |
[libc++] Removes base member from tests. Change the tests to use the base friend function instead of members. Also changed some types to have a base friends instead of members. Reviewed By: #libc, ldionne, Quuxplusone Differential Revision: https://reviews.llvm.org/D120742 | 4 年前 | |
[libc++] s/constpexr/constexpr/ in some comments. NFC. | 5 年前 | |
[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 年前 | |
[libcxx][test] std::array::iterator are not pointers by C++ standard (#70729) This is to modify a list of libcxx tests written under the assumption that iterators for std::array, std::string_view, and std::string are pointers. The motivation for this PR is to make the tests more universal and potentially being used to test other C++ standard library implementations, for example [microsoft/STL](https://github.com/microsoft/STL). I can confirm that this patch makes a number of tests compatible with microsoft STL: Failed : 204 (2.12%) -> Failed : 136 (1.42%) , and does not break any tests on libcxx. This is not a complete list of such incompatibilities, but I am hoping this will start a discussion about whether we are open to accepting such changes. | 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++] 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++] Revert __uninitialized_buffer changes This patch reverts the following commits: 015cd317eaed28a923d14a33c9d6739012a688be (add missing HIDE_FROM_ABI) 420a204d52205f1277a8d5df3dbafac6082e02e2 (add _LIBCPP_NO_CFI) 31eeba3f7c0e2ef4a21c07da9326a4ae1a8de7e2 (add __uninitialized_buffer) It also reverts a small part of b935ab8e747cf52ff12471879460206a9f433eea which is required to make the stable_partition.pass.cpp test pass on GCC. Some issues were pointed out in https://reviews.llvm.org/D152208 and in https://reviews.llvm.org/D154017, so I am reverting this patch until we have time to weigh the various solutions and get consensus on the design of the API. Differential Revision: https://reviews.llvm.org/D154161 | 2 年前 |