[all-commits] [llvm/llvm-project] 9e551c: [libc++][chrono] Fixes leap seconds.

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


  Branch: refs/heads/users/mordante/fixes_leap_second_database_format
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e551c1c8a2ed44c3f3ca2c207a4cf82a05676e7
      https://github.com/llvm/llvm-project/commit/9e551c1c8a2ed44c3f3ca2c207a4cf82a05676e7
  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.

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