[pstl] Replace direct use of assert() with _PSTL_ASSERT
authorThomas Rodgers <trodgers@redhat.com>
Mon, 2 Nov 2020 23:11:41 +0000 (18:11 -0500)
committerLouis Dionne <ldionne@apple.com>
Mon, 2 Nov 2020 23:35:54 +0000 (18:35 -0500)
commit2e15f4ac572bcf429ec12e8f3efbb8ad254042c7
tree4327e6b167c5731723df343e5e0fdd44cf2ef1b1
parentae9231ca2a8125ce75fff3ff2539126610aa2eeb
[pstl] Replace direct use of assert() with _PSTL_ASSERT

Standard libraries may (libstdc++ in particular) forbid direct use of
assert()/<cassert> in library code.

Differential Revision: https://reviews.llvm.org/D60249
pstl/include/pstl/internal/algorithm_impl.h
pstl/include/pstl/internal/numeric_impl.h
pstl/include/pstl/internal/parallel_backend_tbb.h
pstl/include/pstl/internal/parallel_backend_utils.h
pstl/include/pstl/internal/pstl_config.h
pstl/test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp