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

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu Apr 25 08:26:19 PDT 2024


  Branch: refs/heads/users/mordante/fixes_leap_second_database_format
  Home:   https://github.com/llvm/llvm-project
  Commit: d094cded6d023bbffdca0af983ef64e00289c797
      https://github.com/llvm/llvm-project/commit/d094cded6d023bbffdca0af983ef64e00289c797
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-25 (Thu, 25 Apr 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