文件最后提交记录最后更新时间
Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. llvm-svn: 3622526 年前
[libc++] [test] Qualify distance as std::distance in a lot of tests. NFCI. We shouldn't be calling distance via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of distance in particular. Differential Revision: https://reviews.llvm.org/D1196854 年前
[libcxx][NFC] Add tests for associative containers key_comp and value_comp Add missing tests to improve associative containers code coverage: - Tests for key_comp() and value_comp() observers - Tests for std::map and std::multimap value_compare member class Reviewed by: ldionne, rarutyun, #libc Differential Revision: https://reviews.llvm.org/D1139984 年前
[libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. Drive-by minor improvements to a couple of uses of min_pointer. Differential Revision: https://reviews.llvm.org/D1033664 年前
[libc++] Remove Lit annotations for unsupported GCC versions from the test suite Since we officially don't support several older compilers now, we can drop a lot of the markup in the test suite. This helps keep the test suite simple and makes sure that UNSUPPORTED annotations don't rot. This is the first patch of a series that will remove annotations for compilers that are now unsupported. Differential Revision: https://reviews.llvm.org/D1077874 年前
[libc++] [test] Qualify next as std::next in a lot of tests. NFCI. We shouldn't be calling next via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of next in particular. Reviewed as part of D119860.4 年前
[libc++] [test] Qualify next as std::next in a lot of tests. NFCI. We shouldn't be calling next via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of next in particular. Reviewed as part of D119860.4 年前
[libc++] Use addressof in assignment operator. Replace &__rhs with _VSTD::addressof(__rhs) to guard against ADL hijacking of operator& in operator=. Thanks to @CaseyCarter for bringing it to our attention. Similar issues with hijacking operator& still exist, they will be addressed separately. Reviewed By: #libc, Quuxplusone, ldionne Differential Revision: https://reviews.llvm.org/D1108524 年前
[libc++] [test] Qualify next as std::next in a lot of tests. NFCI. We shouldn't be calling next via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of next in particular. Reviewed as part of D119860.4 年前
[libc++][ranges] Implement the changes to node-based containers from P1206 (ranges::to): - add the from_range_t constructors and the related deduction guides; - add the insert_range/assign_range/etc. member functions. (Note: this patch is split from https://reviews.llvm.org/D142335) Differential Revision: https://reviews.llvm.org/D1498302 年前
[clang] Preserve Qualifiers and type sugar in TemplateNames (#93433) This patch improves the preservation of qualifiers and loss of type sugar in TemplateNames. This problem is analogous to https://reviews.llvm.org/D112374 and this patch takes a very similar approach to that patch, except the impact here is much lesser. When a TemplateName was written bare, without qualifications, we wouldn't produce a QualifiedTemplate which could be used to disambiguate it from a Canonical TemplateName. This had effects in the TemplateName printer, which had workarounds to deal with this, and wouldn't print the TemplateName as-written in most situations. There are also some related fixes to help preserve this type sugar along the way into diagnostics, so that this patch can be properly tested. - Fix dropping the template keyword. - Fix type deduction to preserve sugar in TST TemplateNames.2 年前
Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. llvm-svn: 3622526 年前
[libc++] Remove the c++98 Lit feature from the test suite C++98 and C++03 are effectively aliases as far as Clang is concerned. As such, allowing both std=c++98 and std=c++03 as Lit parameters is just slightly confusing, but provides no value. It's similar to allowing both std=c++17 and std=c++1z, which we don't do. This was discovered because we had an internal bot that ran the test suite under both c++98 AND c++03 -- one of which is redundant. Differential Revision: https://reviews.llvm.org/D809265 年前
[libc++] Remove the c++98 Lit feature from the test suite C++98 and C++03 are effectively aliases as far as Clang is concerned. As such, allowing both std=c++98 and std=c++03 as Lit parameters is just slightly confusing, but provides no value. It's similar to allowing both std=c++17 and std=c++1z, which we don't do. This was discovered because we had an internal bot that ran the test suite under both c++98 AND c++03 -- one of which is redundant. Differential Revision: https://reviews.llvm.org/D809265 年前
[libc++][ranges] Implement the changes to node-based containers from P1206 (ranges::to): - add the from_range_t constructors and the related deduction guides; - add the insert_range/assign_range/etc. member functions. (Note: this patch is split from https://reviews.llvm.org/D142335) Differential Revision: https://reviews.llvm.org/D1498302 年前
[libc++] [test] Qualify distance as std::distance in a lot of tests. NFCI. We shouldn't be calling distance via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of distance in particular. Differential Revision: https://reviews.llvm.org/D1196854 年前
[libc++] [test] Qualify distance as std::distance in a lot of tests. NFCI. We shouldn't be calling distance via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of distance in particular. Differential Revision: https://reviews.llvm.org/D1196854 年前
[libc++] [test] Qualify distance as std::distance in a lot of tests. NFCI. We shouldn't be calling distance via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of distance in particular. Differential Revision: https://reviews.llvm.org/D1196854 年前
[libc++] [test] Qualify next as std::next in a lot of tests. NFCI. We shouldn't be calling next via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of next in particular. Reviewed as part of D119860.4 年前
[libc++] [test] Qualify next as std::next in a lot of tests. NFCI. We shouldn't be calling next via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of next in particular. Reviewed as part of D119860.4 年前
[libc++] [test] Qualify next as std::next in a lot of tests. NFCI. We shouldn't be calling next via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of next in particular. Reviewed as part of D119860.4 年前
[libc++] [test] Qualify next as std::next in a lot of tests. NFCI. We shouldn't be calling next via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of next in particular. Reviewed as part of D119860.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/D1460883 年前
[libc++] [test] Update "test_compare.h" users to avoid removed-in-C++20 members. NFCI. Drive-by minor improvements to a couple of uses of min_pointer. Differential Revision: https://reviews.llvm.org/D1033664 年前
[libc++] Remove the c++98 Lit feature from the test suite C++98 and C++03 are effectively aliases as far as Clang is concerned. As such, allowing both std=c++98 and std=c++03 as Lit parameters is just slightly confusing, but provides no value. It's similar to allowing both std=c++17 and std=c++1z, which we don't do. This was discovered because we had an internal bot that ran the test suite under both c++98 AND c++03 -- one of which is redundant. Differential Revision: https://reviews.llvm.org/D809265 年前
[libc++] Remove the c++98 Lit feature from the test suite C++98 and C++03 are effectively aliases as far as Clang is concerned. As such, allowing both std=c++98 and std=c++03 as Lit parameters is just slightly confusing, but provides no value. It's similar to allowing both std=c++17 and std=c++1z, which we don't do. This was discovered because we had an internal bot that ran the test suite under both c++98 AND c++03 -- one of which is redundant. Differential Revision: https://reviews.llvm.org/D809265 年前