[all-commits] [llvm/llvm-project] b7044a: [libc++][chrono] implements UTC clock.

Mark de Wever via All-commits all-commits at lists.llvm.org
Mon Dec 23 08:13:51 PST 2024


  Branch: refs/heads/users/mordante/implements_utc_clock
  Home:   https://github.com/llvm/llvm-project
  Commit: b7044a0116b18e422033f6f682c4c3741f31405c
      https://github.com/llvm/llvm-project/commit/b7044a0116b18e422033f6f682c4c3741f31405c
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-12-23 (Mon, 23 Dec 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx20Issues.csv
    M libcxx/docs/Status/FormatPaper.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__chrono/convert_to_tm.h
    M libcxx/include/__chrono/formatter.h
    M libcxx/include/__chrono/ostream.h
    A libcxx/include/__chrono/utc_clock.h
    M libcxx/include/chrono
    M libcxx/include/module.modulemap
    M libcxx/modules/std/chrono.inc
    A libcxx/test/benchmarks/utc_clock.bench.cpp
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/libcxx/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
    A libcxx/test/libcxx/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
    A libcxx/test/libcxx/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.utc/get_leap_second_info.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.utc/leap_second_info.members.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/from_sys.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/now.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.utc/time.clock.utc.members/to_sys.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.utc/types.compile.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.utc/utc_time.ostream.pass.cpp
    A libcxx/test/std/time/time.syn/formatter.utc_time.pass.cpp
    M libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] implements UTC clock.

While implementing this feature and its associated LWG issues it turns out
- LWG3316 Correctly define epoch for utc_clock / utc_timepoint
only added non-normative wording to the standard.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones
- P1361 Integration of chrono with text formatting
- 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