[libcxx-commits] [libcxx] 732bf92 - [libc++][NFC] Remove unused includes from poll_with_backoff.h

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 25 07:39:37 PST 2022


Author: Louis Dionne
Date: 2022-11-25T10:39:24-05:00
New Revision: 732bf92c9e072b72196cef0d0137b3eb73042f80

URL: https://github.com/llvm/llvm-project/commit/732bf92c9e072b72196cef0d0137b3eb73042f80
DIFF: https://github.com/llvm/llvm-project/commit/732bf92c9e072b72196cef0d0137b3eb73042f80.diff

LOG: [libc++][NFC] Remove unused includes from poll_with_backoff.h

Differential Revision: https://reviews.llvm.org/D138687

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__thread/poll_with_backoff.h b/libcxx/include/__thread/poll_with_backoff.h
index e8595fdcab49..d027a2779d8e 100644
--- a/libcxx/include/__thread/poll_with_backoff.h
+++ b/libcxx/include/__thread/poll_with_backoff.h
@@ -13,10 +13,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

diff  --git a/libcxx/include/module.modulemap.in b/libcxx/include/module.modulemap.in
index 5f07d9df0a59..1a33ec2f83ac 100644
--- a/libcxx/include/module.modulemap.in
+++ b/libcxx/include/module.modulemap.in
@@ -672,6 +672,7 @@ module std [system] {
         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" }


        


More information about the libcxx-commits mailing list