[all-commits] [llvm/llvm-project] 04b454: [libc++] Explicitly pass execution policies to _LI...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Wed Oct 4 15:12:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04b45450ac0092fc6d04b5f9bfd46610c442db3f
https://github.com/llvm/llvm-project/commit/04b45450ac0092fc6d04b5f9bfd46610c442db3f
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-10-04 (Wed, 04 Oct 2023)
Changed paths:
M libcxx/include/__algorithm/pstl_any_all_none_of.h
M libcxx/include/__algorithm/pstl_copy.h
M libcxx/include/__algorithm/pstl_count.h
M libcxx/include/__algorithm/pstl_fill.h
M libcxx/include/__algorithm/pstl_find.h
M libcxx/include/__algorithm/pstl_for_each.h
M libcxx/include/__algorithm/pstl_frontend_dispatch.h
M libcxx/include/__algorithm/pstl_generate.h
M libcxx/include/__algorithm/pstl_is_partitioned.h
M libcxx/include/__algorithm/pstl_replace.h
M libcxx/include/__algorithm/pstl_sort.h
M libcxx/include/__numeric/pstl_reduce.h
Log Message:
-----------
[libc++] Explicitly pass execution policies to _LIBCPP_PSTL_CUSTOMIZATION_POINT (#68238)
The _LIBCPP_PSTL_CUSTOMIZATION_POINT macro was assuming that the policy
was called _RawPolicy and referencing it by name. It happened to always
work but this was definitely accidental and an oversight in the original
implementation. This patch fixes that by passing the policy to the macro
explicitly. Noticed while reviewing #66968.
More information about the All-commits
mailing list