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

Mark de Wever via All-commits all-commits at lists.llvm.org
Mon Jun 10 12:23:36 PDT 2024


  Branch: refs/heads/users/mordante/zoned_time__members
  Home:   https://github.com/llvm/llvm-project
  Commit: 368f0d443a91c6671fd913e1e475a43fe1a84f1d
      https://github.com/llvm/llvm-project/commit/368f0d443a91c6671fd913e1e475a43fe1a84f1d
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-06-10 (Mon, 10 Jun 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