[all-commits] [llvm/llvm-project] 31b3c9: [libc++][chrono] Adds the sys_info class.

Mark de Wever via All-commits all-commits at lists.llvm.org
Mon Mar 18 08:12:44 PDT 2024


  Branch: refs/heads/users/mordante/adds_sys_info
  Home:   https://github.com/llvm/llvm-project
  Commit: 31b3c9607d0dc2ada344bd4bdf8fe5fefe556d57
      https://github.com/llvm/llvm-project/commit/31b3c9607d0dc2ada344bd4bdf8fe5fefe556d57
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx2cIssues.csv
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__chrono/sys_info.h
    M libcxx/include/__chrono/time_zone.h
    M libcxx/include/chrono
    M libcxx/include/libcxx.imp
    M libcxx/include/module.modulemap
    M libcxx/modules/std/chrono.inc
    M libcxx/src/include/tzdb/types_private.h
    M libcxx/src/include/tzdb/tzdb_list_private.h
    M libcxx/src/time_zone.cpp
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard_extensions.compile.pass.cpp
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard_extensions.verify.cpp
    A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.info/time.zone.info.sys/sys_info.members.compile.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp
    M libcxx/utils/libcxx/test/features.py

  Log Message:
  -----------
  [libc++][chrono] Adds the sys_info class.

Adds the sys_info class and time_zone::get_info(). The code still
has a few quirks and has not been optimized for performance yet.

The returned sys_info is compared against the output of the zdump tool in
the test giving confidence the implementation is correct.

Implements parts of:
- P0355 Extending <chrono> to Calendars and Time Zones

Implements:
- LWGXXXX The sys_info range should be affected by save



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