diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-04-05 01:46:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-05 01:46:13 -0400 |
| commit | 0cd31fc7ff157551cfbba5da35cd79f118d2a2e3 (patch) | |
| tree | a308488f5d85184c8ec402fb3f55f1cf2704443e /lib/libcxx/src/experimental/time_zone.cpp | |
| parent | 8acedfd5baabab705946ad097746f9183ef62420 (diff) | |
| parent | cefe65c1b8abe65a22d4b68410db1be264fdeda0 (diff) | |
| download | zig-0cd31fc7ff157551cfbba5da35cd79f118d2a2e3.tar.gz zig-0cd31fc7ff157551cfbba5da35cd79f118d2a2e3.zip | |
Merge pull request #22780 from ziglang/llvm20
LLVM 20
Diffstat (limited to 'lib/libcxx/src/experimental/time_zone.cpp')
| -rw-r--r-- | lib/libcxx/src/experimental/time_zone.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcxx/src/experimental/time_zone.cpp b/lib/libcxx/src/experimental/time_zone.cpp index 764a89ab51..289164ab12 100644 --- a/lib/libcxx/src/experimental/time_zone.cpp +++ b/lib/libcxx/src/experimental/time_zone.cpp @@ -199,7 +199,7 @@ __format(const __tz::__continuation& __continuation, const string& __letters, se // active at the end. This should be determined separately. return chrono::seconds{0}; else - static_assert(sizeof(_Tp) == 0); // TODO TZDB static_assert(false); after droping clang-16 support + static_assert(false); std::__libcpp_unreachable(); }, @@ -225,7 +225,7 @@ __format(const __tz::__continuation& __continuation, const string& __letters, se else if constexpr (same_as<_Tp, __tz::__constrained_weekday>) return __value(__year, __month); else - static_assert(sizeof(_Tp) == 0); // TODO TZDB static_assert(false); after droping clang-16 support + static_assert(false); std::__libcpp_unreachable(); }, @@ -668,7 +668,7 @@ __first_rule(seconds __stdoff, const vector<__tz::__rule>& __rules) { __continuation_end, __continuation.__stdoff + __save, chrono::duration_cast<minutes>(__save), - __continuation.__format}, + chrono::__format(__continuation, __continuation.__format, __save)}, true}; } @@ -688,7 +688,7 @@ __get_sys_info(sys_seconds __time, else if constexpr (same_as<_Tp, __tz::__save>) return chrono::__get_sys_info_basic(__time, __continuation_begin, __continuation, __value.__time); else - static_assert(sizeof(_Tp) == 0); // TODO TZDB static_assert(false); after droping clang-16 support + static_assert(false); std::__libcpp_unreachable(); }, |
