[all-commits] [llvm/llvm-project] 7be243: [NFC][libc++][chrono] Removes dead code. (#132104)
Mark de Wever via All-commits
all-commits at lists.llvm.org
Fri Mar 21 10:01:58 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7be243add2bb89461f647ae74af730e149833c1b
https://github.com/llvm/llvm-project/commit/7be243add2bb89461f647ae74af730e149833c1b
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2025-03-21 (Fri, 21 Mar 2025)
Changed paths:
M libcxx/include/__chrono/convert_to_tm.h
Log Message:
-----------
[NFC][libc++][chrono] Removes dead code. (#132104)
For certain time_points there are specializations of __convert_to_tm.
This means the non-specialized version is never called. This means some
of the `if constexpr` will never be true. These are removed.
Since there is a `static_assert` accidental removal of the
specialization will make the code ill-formed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list