| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++] Enables constexpr string tests. These tests were disabled during constant evaluation in D90569. At that time constexpr string was not implemented. It now is. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D154227 | 2 年前 | |
[libc++] Enables constexpr string tests. These tests were disabled during constant evaluation in D90569. At that time constexpr string was not implemented. It now is. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D154227 | 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++] Enables constexpr string tests. These tests were disabled during constant evaluation in D90569. At that time constexpr string was not implemented. It now is. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D154227 | 2 年前 | |
[libc++] Remove test-suite annotations for unsupported Clang versions Differential Revision: https://reviews.llvm.org/D108471 | 4 年前 | |
[libc++] [test] Fix portability issues for MSVC (#93259) * Guard std::__make_from_tuple_impl tests with #ifdef _LIBCPP_VERSION and LIBCPP_STATIC_ASSERT. * Change _LIBCPP_CONSTEXPR_SINCE_CXX20 to TEST_CONSTEXPR_CXX20. + Other functions in variant.swap/swap.pass.cpp were already using the proper test macro. * Mark what as [[maybe_unused]] when used by TEST_LIBCPP_REQUIRE. + This updates one occurrence in libcxx/test/libcxx for consistency. * Windows _putenv_s() takes 2 arguments, not 3. + See MSVC documentation: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/putenv-s-wputenv-s?view=msvc-170 + POSIX setenv() takes int overwrite, but Windows _putenv_s() always overwrites. * Avoid non-Standard zero-length arrays. + Followup to #74183 and #79792. * Add operator++() to unsized_it. + The Standard requires this due to [N4981][] [move.iter.requirements]/1 "The template parameter Iterator shall either meet the *Cpp17InputIterator* requirements ([input.iterators]) or model input_iterator ([iterator.concept.input])." + MSVC's STL requires this because it has a strengthened exception specification in move_iterator that inspects the underlying iterator's increment operator. * uniform_int_distribution forbids int8_t/uint8_t. + See [N4981][] [rand.req.genl]/1.5. MSVC's STL enforces this. + Note that when changing the distribution's IntType, we need to be careful to preserve the original value range of [0, max_input]. * fstreams are constructible from const fs::path::value_type* on wide systems. + See [ifstream.cons], [ofstream.cons], [fstream.cons]. * In msvc_stdlib_force_include.h, map _HAS_CXX23 to TEST_STD_VER 23 instead of 99. + On 2023-05-23, https://github.com/llvm/llvm-project/commit/71400505ca048507e827013eb1ea0bc863525cab started recognizing 23 as a distinct value. * Fix test name typo: destory_elements.pass.cpp => destroy_elements.pass.cpp [N4981]: https://wg21.link/N4981 | 2 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc++] Fix one case in saturate_cast.pass.cpp for 64-bit on z/OS (#86724) On z/OS int128 is disabled causing one of the cases in saturate_cast.pass.cpp to fail. The failure is only in 64-bit mode. In this case the std::numeric_limits<long long int>::max() is within std::numeric_limits<unsigned long int>::min() and std::numeric_limits<unsigned long int>::max() therefore, saturate_cast<unsigned long int>( sBigMax) == LONG_MAX and not ULONG_MAX as original test. In 32-bit, saturate_cast<unsigned long int>( sBigMax) == ULONG_MAX like on other platforms where int128 is enabled. This PR is required to pass this test case on z/OS and possibly on other platforms where int128 is not supported/enabled. --------- Co-authored-by: Sean Perry <perry@ca.ibm.com> | 2 年前 | |
[libc++] Enables constexpr string tests. These tests were disabled during constant evaluation in D90569. At that time constexpr string was not implemented. It now is. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D154227 | 2 年前 | |
[libc++][pstl] Improve exception handling (#88998) There were various places where we incorrectly handled exceptions in the PSTL. Typical issues were missing noexcept and taking iterators by value instead of by reference. This patch fixes those inconsistent and incorrect instances, and adds proper tests for all of those. Note that the previous tests were often incorrectly turned into no-ops by the compiler due to copy ellision, which doesn't happen with these new tests. | 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++][pstl] Improve exception handling (#88998) There were various places where we incorrectly handled exceptions in the PSTL. Typical issues were missing noexcept and taking iterators by value instead of by reference. This patch fixes those inconsistent and incorrect instances, and adds proper tests for all of those. Note that the previous tests were often incorrectly turned into no-ops by the compiler due to copy ellision, which doesn't happen with these new tests. | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 2 年前 |