[all-commits] [llvm/llvm-project] 013b33: [libc++][NFC] Simplify duration comparisons a bit ...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Fri Jun 5 03:30:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 013b33583b632f4c680db82f42223e3684da8cb2
https://github.com/llvm/llvm-project/commit/013b33583b632f4c680db82f42223e3684da8cb2
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2026-06-05 (Fri, 05 Jun 2026)
Changed paths:
M libcxx/include/__chrono/duration.h
Log Message:
-----------
[libc++][NFC] Simplify duration comparisons a bit (#201788)
The comparisons have been delegated to a class which has been
specialized for the equality case. This has likely been done to avoid
`common_type` if possible. However, `common_type` got a lot cheaper, to
the point where the classes likely do more harm than good.
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