[all-commits] [llvm/llvm-project] 41f7bb: [libc++][chrono] Uses operator<=> in the calendar.

mordante via All-commits all-commits at lists.llvm.org
Wed Jul 27 12:53:21 PDT 2022


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

  Changed paths:
    M libcxx/docs/Status/SpaceshipProjects.csv
    M libcxx/include/__chrono/month.h
    M libcxx/include/__chrono/monthday.h
    M libcxx/include/__chrono/year.h
    M libcxx/include/__chrono/year_month.h
    M libcxx/include/__chrono/year_month_day.h
    M libcxx/include/chrono
    M libcxx/test/std/time/time.cal/time.cal.md/time.cal.md.nonmembers/comparisons.pass.cpp
    M libcxx/test/std/time/time.cal/time.cal.month/time.cal.month.nonmembers/comparisons.pass.cpp
    M libcxx/test/std/time/time.cal/time.cal.year/time.cal.year.nonmembers/comparisons.pass.cpp
    M libcxx/test/std/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/comparisons.pass.cpp
    M libcxx/test/std/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/comparisons.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Uses operator<=> in the calendar.

Since the calendar is added in C++20 the existing operators are removed.

Implements part of:
- P1614R2 The Mothership has Landed

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list