[libc++] Remove test-suite annotations for unsupported Clang versionsDifferential Revision: https://reviews.llvm.org/D108471
[pstl] Workaround more errors in the test suite
[pstl] Fix -Wundef errors in the test suite
[libc++][pstl] Remove c++98 from UNSUPPORTED annotationsc++98 isn't used by the test suite anymore, only c++03 is.
[pstl] A fix for move placement-new (and destroy) allocated objects from raw memory.https://reviews.llvm.org/D74123The fix affects follow algorithms:remove_if, unique, rotate, inplace_merge, par
[pstl] A fix for move placement-new (and destroy) allocated objects from raw memory.https://reviews.llvm.org/D74123The fix affects follow algorithms:remove_if, unique, rotate, inplace_merge, partial_sort_copy, set_union, set_intersection, set_difference, set_symmetric_difference.For "is_trivial" types there are no problems with "creating objects/clean-up"For non-trivial types the algo results are also correct, but possible incorrect copying/moving "operator=" calls "by raw memory" within one of mentioned algo or incorrect destructor calls in the end of algo.
show more ...
[NFC][pstl] Run clang-format on the sources, including the testsllvm-svn: 366492
[pstl] Declare main() as returning int, not int32_tllvm-svn: 366490
[pstl] Use utilities from <functional> instead of reinventing the wheelllvm-svn: 365158
[pstl] Mark pstl tests as unsupported before C++17This is required to run the tests in lit with libc++'s tests.llvm-svn: 363942
[pstl] Remove warnings in tests and headersMostly unused parameter, unused local typedefs and shadowed declarations.This massaging it necessary if we want to be able to run the tests underthe lib
[pstl] Remove warnings in tests and headersMostly unused parameter, unused local typedefs and shadowed declarations.This massaging it necessary if we want to be able to run the tests underthe libc++ lit configuration.llvm-svn: 363872
[pstl] Remove stray usage of pstl::execution instead of std::executionllvm-svn: 363723
[pstl] Remove various warnings in the pstl headers and tests- unused parameter warnings- don't use single-letter template parameter names, like we do in libc++- sign-comparison warnings- unused
[pstl] Remove various warnings in the pstl headers and tests- unused parameter warnings- don't use single-letter template parameter names, like we do in libc++- sign-comparison warnings- unused variables in the tests- unused local typedefs in the tests- the use of #include_next- field reordering in the tests- unused lambda capturesNote that the rationale for why the static_casts to unsigned are OK isthat last - first must always be non-negative, since [first, last) isa valid range.llvm-svn: 362148
[pstl] Remove the stdlib headers from the PSTL and move them to the testsSummary:PSTL should not provide those headers since they belong to the standardlibrary. Instead, we define a dummy standar
[pstl] Remove the stdlib headers from the PSTL and move them to the testsSummary:PSTL should not provide those headers since they belong to the standardlibrary. Instead, we define a dummy standard library in the tests thatprovides those headers.Reviewers: rodgert, MikeDvorskiySubscribers: mgorny, jkorous, dexonsmith, libcxx-commitsTags: #libcDifferential Revision: https://reviews.llvm.org/D60535llvm-svn: 358497
[pstl] Move to single underscore-capital for macros and include guardsSummary: Per the LLVM convention.Reviewers: rodgertSubscribers: jkorous, dexonsmith, jdoerfert, libcxx-commitsTags: #libc
[pstl] Move to single underscore-capital for macros and include guardsSummary: Per the LLVM convention.Reviewers: rodgertSubscribers: jkorous, dexonsmith, jdoerfert, libcxx-commitsTags: #libcDifferential Revision: https://reviews.llvm.org/D60521llvm-svn: 358131
[pstl] Uglify internal names of the libraryllvm-svn: 357203
[pstl] Introduce forward declarationsNecessary when pstl is included from with <algorithm> and <numeric> toprevent a partially declared standard library when pstl itself usesalgorithms from <algo
[pstl] Introduce forward declarationsNecessary when pstl is included from with <algorithm> and <numeric> toprevent a partially declared standard library when pstl itself usesalgorithms from <algorithm> and <numeric>.Also, this patch makes sure that configuration comes via standard headers.Directly including pstl_config.h in implementation files is incompatiblewith inclusion of pstl into a standard library implementation whichprovides it's own library wide configuration and may configure thelibrary differently to the pstl_config.h used by the standaloneimplementation.Differential Revision: https://reviews.llvm.org/D59122llvm-svn: 357189
Restructure test suite to follow libc++ standard layoutSummary: Subsumes changes requested in https://reviews.llvm.org/D59110Reviewers: EricWF, ldionneSubscribers: mgorny, krytarowski, jfb, jdo
Restructure test suite to follow libc++ standard layoutSummary: Subsumes changes requested in https://reviews.llvm.org/D59110Reviewers: EricWF, ldionneSubscribers: mgorny, krytarowski, jfb, jdoerfert, libcxx-commitsDifferential Revision: https://reviews.llvm.org/D59856llvm-svn: 357124