[all-commits] [llvm/llvm-project] 3dcb18: [libc++][TZDB] Finishes zoned_time member functions.

Mark de Wever via All-commits all-commits at lists.llvm.org
Sun Jul 7 06:43:48 PDT 2024


  Branch: refs/heads/users/mordante/zoned_time__members
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dcb1871f7c4281cc0adfd61f4005c686614c307
      https://github.com/llvm/llvm-project/commit/3dcb1871f7c4281cc0adfd61f4005c686614c307
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-07 (Sun, 07 Jul 2024)

  Changed paths:
    M libcxx/include/__chrono/zoned_time.h
    M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/assign.local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/assign.sys_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/get_info.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/get_local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/operator_local_time.pass.cpp
    A libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.members/operator_sys_time.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Finishes zoned_time member functions.

Note the implementation of
  zoned_time& operator=(const local_time<Duration>& lt);
is not correct; however the wording cannot be easily implemented. It could
be if the object caches the local_time assigned. However this does not
seem to intended. The current implementation matches MSVC STL and
libstdc++.

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



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