[libcxx-commits] [PATCH] D125634: [libc++] Use _LIBCPP_ASSERT by default for _PSTL_ASSERTions

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 19 07:46:24 PDT 2022


ldionne added subscribers: rodgert, jwakely.
ldionne added inline comments.


================
Comment at: pstl/include/pstl/internal/pstl_config.h:33-34
+#    define _PSTL_ASSERT(pred) _LIBCPP_ASSERT(pred, "")
+#elif defined(__GLIBCXX__)
+#    define _PSTL_ASSERT(pred) __glibcxx_assert(pred)
+#else
----------------
@jwakely @rodgert We'd like to remove `_PSTL_ASSERT` as a customization point and define it explicitly here instead, are you OK with that?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125634/new/

https://reviews.llvm.org/D125634



More information about the libcxx-commits mailing list