[libcxx-commits] [libcxx] [libc++][chrono] Adds a missing main include. (PR #132100)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 19 14:05:35 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Mark de Wever (mordante)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/132100.diff


1 Files Affected:

- (modified) libcxx/include/chrono (+1) 


``````````diff
diff --git a/libcxx/include/chrono b/libcxx/include/chrono
index d8006720c495c..a3367f89ee11d 100644
--- a/libcxx/include/chrono
+++ b/libcxx/include/chrono
@@ -1073,6 +1073,7 @@ constexpr chrono::year                                  operator ""y(unsigned lo
 
 #    if _LIBCPP_HAS_TIME_ZONE_DATABASE && _LIBCPP_HAS_FILESYSTEM && _LIBCPP_HAS_LOCALIZATION
 #      include <__chrono/leap_second.h>
+#      include <__chrono/gps_clock.h>
 #      include <__chrono/tai_clock.h>
 #      include <__chrono/time_zone.h>
 #      include <__chrono/time_zone_link.h>

``````````

</details>


https://github.com/llvm/llvm-project/pull/132100


More information about the libcxx-commits mailing list