[libcxx-commits] [PATCH] D92525: [libc++] Update and normalize the "all the headers" tests.

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 3 03:10:23 PST 2020


curdeius added a comment.

Nice findings! Apparently all of barrier, latch, semaphore and simd are missing `_LIBCPP_PUSH_MACROS #include <__undef_macros>`. And semaphore includes <cassert>.



================
Comment at: libcxx/test/libcxx/no_assert_include.compile.pass.cpp:100
+#ifndef _LIBCPP_HAS_NO_THREADS
+#include <semaphore>
+#endif
----------------
You found the culprit!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92525



More information about the libcxx-commits mailing list