[all-commits] [llvm/llvm-project] 093dda: [libc++][chrono] Fixes leap seconds. (#90070)

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu Jul 4 11:45:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 093ddac68c6855b5c2d786a99475b793e35e2342
      https://github.com/llvm/llvm-project/commit/093ddac68c6855b5c2d786a99475b793e35e2342
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/src/tzdb.cpp
    M libcxx/test/libcxx/time/time.zone/time.zone.db/leap_seconds.pass.cpp
    M libcxx/test/std/time/time.zone/time.zone.db/leap_seconds.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Fixes leap seconds. (#90070)

While implementing the UTC clock it turns out that the implementation of
the leap seconds was not correct, it should store the individual value,
not the sum.

It also looks like LWG3359 has not been fully implemented.

Implements parts of:
- LWG3359 <chrono> leap second support should allow for negative leap
seconds



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