[libcxx-commits] [PATCH] D138687: [libc++][NFC] Remove unused includes from poll_with_backoff.h

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 25 06:20:03 PST 2022


ldionne updated this revision to Diff 477942.
ldionne added a comment.

Fix modules issue


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138687

Files:
  libcxx/include/__thread/poll_with_backoff.h
  libcxx/include/module.modulemap.in


Index: libcxx/include/module.modulemap.in
===================================================================
--- libcxx/include/module.modulemap.in
+++ libcxx/include/module.modulemap.in
@@ -672,6 +672,7 @@
         private header "__chrono/high_resolution_clock.h"
         export steady_clock
         export system_clock
+        export time_point
       }
       module literals               { private header "__chrono/literals.h" }
       module month                  { private header "__chrono/month.h" }
Index: libcxx/include/__thread/poll_with_backoff.h
===================================================================
--- libcxx/include/__thread/poll_with_backoff.h
+++ libcxx/include/__thread/poll_with_backoff.h
@@ -12,10 +12,7 @@
 #include <__availability>
 #include <__chrono/duration.h>
 #include <__chrono/high_resolution_clock.h>
-#include <__chrono/steady_clock.h>
-#include <__chrono/time_point.h>
 #include <__config>
-#include <__filesystem/file_time_type.h>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138687.477942.patch
Type: text/x-patch
Size: 1067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221125/a2aa2cce/attachment.bin>


More information about the libcxx-commits mailing list