[all-commits] [llvm/llvm-project] fd36a3: [libc++][chrono] Adds operator<=> for day.

mordante via All-commits all-commits at lists.llvm.org
Wed Jul 13 08:20:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd36a3d48d0554930db0381286f4cad3e9c7c1ea
      https://github.com/llvm/llvm-project/commit/fd36a3d48d0554930db0381286f4cad3e9c7c1ea
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

  Changed paths:
    M libcxx/include/__chrono/day.h
    M libcxx/include/chrono
    M libcxx/test/std/time/time.cal/time.cal.day/time.cal.day.nonmembers/comparisons.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Adds operator<=> for day.

Since the calendar classes were introduced in C++20 there's no need to
keep the old comparison operators.

This commit does the day calender class, the other calendar classes will
be in a followup commit.

Implements parts of:
- P1614R2 The mothership has landed

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D128603




More information about the All-commits mailing list