[all-commits] [llvm/llvm-project] 7f89e6: [libc++][chrono] Adds the sys_info class.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Tue Mar 19 02:42:22 PDT 2024
Branch: refs/heads/users/mordante/adds_sys_info
Home: https://github.com/llvm/llvm-project
Commit: 7f89e6820bf28148e8301f32b5027b0b43eddb25
https://github.com/llvm/llvm-project/commit/7f89e6820bf28148e8301f32b5027b0b43eddb25
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-19 (Tue, 19 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