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

Mark de Wever via All-commits all-commits at lists.llvm.org
Sun Apr 28 11:58:02 PDT 2024


  Branch: refs/heads/users/mordante/implements_utc_clock
  Home:   https://github.com/llvm/llvm-project
  Commit: 77edef4dd99a16f6ac2668b098e3659ee52a134a
      https://github.com/llvm/llvm-project/commit/77edef4dd99a16f6ac2668b098e3659ee52a134a
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-28 (Sun, 28 Apr 2024)

  Changed paths:
    M libcxx/benchmarks/CMakeLists.txt
    A libcxx/benchmarks/utc_clock.bench.cpp
    M libcxx/docs/Status/Cxx20.rst
    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
    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