Louis Dionne
3b9a1bb1af
[pstl] Fix -Wundef errors in the test suite
2021-05-26 15:24:49 -04:00
Louis Dionne
b5e896c049
[libc++][pstl] Remove c++98 from UNSUPPORTED annotations
...
c++98 isn't used by the test suite anymore, only c++03 is.
2020-07-29 14:17:32 -04:00
Louis Dionne
01963cec9b
[NFC][pstl] Run clang-format on the sources, including the tests
...
llvm-svn: 366492
2019-07-18 20:22:28 +00:00
Louis Dionne
249c1c7407
[pstl] Declare main() as returning int, not int32_t
...
llvm-svn: 366490
2019-07-18 20:21:52 +00:00
Louis Dionne
6ab35c9dc0
[pstl] Mark pstl tests as unsupported before C++17
...
This is required to run the tests in lit with libc++'s tests.
llvm-svn: 363942
2019-06-20 16:22:06 +00:00
Louis Dionne
3491119f9b
[pstl] Remove warnings in tests and headers
...
Mostly unused parameter, unused local typedefs and shadowed declarations.
This massaging it necessary if we want to be able to run the tests under
the libc++ lit configuration.
llvm-svn: 363872
2019-06-19 20:15:50 +00:00
Louis Dionne
9d54063c82
[pstl] Remove stray usage of pstl::execution instead of std::execution
...
llvm-svn: 363723
2019-06-18 19:34:04 +00:00
Louis Dionne
4d88b17b3f
[pstl] Remove the stdlib headers from the PSTL and move them to the tests
...
Summary:
PSTL should not provide those headers since they belong to the standard
library. Instead, we define a dummy standard library in the tests that
provides those headers.
Reviewers: rodgert, MikeDvorskiy
Subscribers: mgorny, jkorous, dexonsmith, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D60535
llvm-svn: 358497
2019-04-16 14:38:08 +00:00
Louis Dionne
3dee12e4a5
[pstl] Move to single underscore-capital for macros and include guards
...
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
2019-04-10 19:51:40 +00:00
Louis Dionne
3b62047b8b
Restructure test suite to follow libc++ standard layout
...
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
2019-03-27 21:28:24 +00:00