summaryrefslogtreecommitdiffstats
path: root/pstl/test/support/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* [pstl] Remove various warnings in the pstl headers and testsLouis Dionne2019-05-301-7/+7
| | | | | | | | | | | | | | | | | - 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 captures Note that the rationale for why the static_casts to unsigned are OK is that last - first must always be non-negative, since [first, last) is a valid range. llvm-svn: 362148
* [pstl] Make the default backend be the serial backend and always provide ↵Louis Dionne2019-04-241-9/+0
| | | | | | | | | | | | | | | | | | parallel policies Summary: Before this change, the default backend was TBB but one could disable anything related to TBB by removing the parallel policies. This change uses the serial backend by default and removes the ability to disable parallel policies, which is not useful anymore. Reviewers: rodgert, MikeDvorskiy Subscribers: mgorny, jkorous, dexonsmith, jdoerfert, libcxx-commits Differential Revision: https://reviews.llvm.org/D59792 llvm-svn: 359134
* [pstl] Move to single underscore-capital for macros and include guardsLouis Dionne2019-04-101-7/+7
| | | | | | | | | | | | | | Summary: Per the LLVM convention. Reviewers: rodgert Subscribers: jkorous, dexonsmith, jdoerfert, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D60521 llvm-svn: 358131
* [pstl] Uglify internal names of the libraryLouis Dionne2019-03-281-1/+1
| | | | llvm-svn: 357203
* Restructure test suite to follow libc++ standard layoutLouis Dionne2019-03-271-0/+1247
Summary: Subsumes changes requested in https://reviews.llvm.org/D59110 Reviewers: EricWF, ldionne Subscribers: mgorny, krytarowski, jfb, jdoerfert, libcxx-commits Differential Revision: https://reviews.llvm.org/D59856 llvm-svn: 357124
OpenPOWER on IntegriCloud