[llvm-branch-commits] [libcxx] [libc++][chrono] Completes the tzdb class. (PR #82157)
Louis Dionne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 5 09:47:55 PST 2024
================
@@ -655,6 +655,57 @@ void __init_tzdb(tzdb& __tzdb, __tz::__rules_storage_type& __rules) {
std::ranges::sort(__tzdb.leap_seconds);
}
+#ifdef _WIN32
+[[nodiscard]] static const time_zone* __current_zone_windows(const tzdb& tzdb) {
+ // TODO TZDB Implement this on Windows.
+ std::__throw_runtime_error("unknown time zone");
+}
+#else // ifdef _WIN32
----------------
ldionne wrote:
```suggestion
#else // _WIN32
```
https://github.com/llvm/llvm-project/pull/82157
More information about the llvm-branch-commits
mailing list