[libcxx-commits] [PATCH] D138528: [libc++][NFC] Remove unused include in __threading_support
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Sep 6 06:39:59 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe375fd0343e4: [libc++] Remove unused include in __threading_support (authored by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138528/new/
https://reviews.llvm.org/D138528
Files:
libcxx/include/__threading_support
libcxx/include/semaphore
libcxx/src/support/win32/thread_win32.cpp
Index: libcxx/src/support/win32/thread_win32.cpp
===================================================================
--- libcxx/src/support/win32/thread_win32.cpp
+++ libcxx/src/support/win32/thread_win32.cpp
@@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
#include <__threading_support>
+#include <chrono>
+
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
Index: libcxx/include/semaphore
===================================================================
--- libcxx/include/semaphore
+++ libcxx/include/semaphore
@@ -52,6 +52,7 @@
#include <__availability>
#include <__chrono/time_point.h>
#include <__config>
+#include <__thread/poll_with_backoff.h>
#include <__thread/timed_backoff_policy.h>
#include <__threading_support>
#include <cstddef>
Index: libcxx/include/__threading_support
===================================================================
--- libcxx/include/__threading_support
+++ libcxx/include/__threading_support
@@ -14,7 +14,8 @@
#include <__chrono/convert_to_timespec.h>
#include <__chrono/duration.h>
#include <__config>
-#include <__thread/poll_with_backoff.h>
+#include <__fwd/hash.h>
+#include <ctime>
#include <errno.h>
#ifdef __MVS__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138528.556026.patch
Type: text/x-patch
Size: 1250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230906/1ff49abd/attachment.bin>
More information about the libcxx-commits
mailing list