[libcxx-commits] [PATCH] D137022: [libc++][chrono] Add calendar type formatters.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 8 12:01:43 PST 2022


Mordante created this revision.
Herald added subscribers: mstorsjo, arphaman, arichardson.
Herald added a project: All.
Mordante updated this revision to Diff 471761.
Mordante added a comment.
Mordante updated this revision to Diff 473414.
Mordante updated this revision to Diff 473422.
Mordante updated this revision to Diff 473497.
Mordante updated this revision to Diff 473499.
Mordante updated this revision to Diff 473503.
Mordante updated this revision to Diff 473505.
Mordante updated this revision to Diff 479827.
Mordante updated this revision to Diff 479829.
Mordante updated this revision to Diff 479833.
Mordante updated this revision to Diff 479834.
Mordante updated this revision to Diff 479848.
Mordante updated this revision to Diff 479851.
Mordante updated this revision to Diff 479852.
Mordante updated this revision to Diff 479853.
Mordante updated this revision to Diff 479855.
Mordante updated this revision to Diff 479859.
Mordante updated this revision to Diff 479907.
Mordante edited the summary of this revision.
Mordante updated this revision to Diff 479914.
Mordante updated this revision to Diff 479926.
Mordante updated this revision to Diff 480181.
Mordante updated this revision to Diff 480200.
Mordante updated this revision to Diff 480495.
Mordante updated this revision to Diff 480561.
Mordante updated this revision to Diff 481318.
Mordante published this revision for review.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

CI fixes.


Mordante added a comment.

CI fixes and more tests.


Mordante added a comment.

Rebased and more CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

Rebased, polishing, and improving tests.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

Add more tests.


Mordante added a comment.

CI fixes


Mordante added a comment.

CI fixes.


Mordante added a comment.

Trigger CI.


Mordante added a comment.

Reenable complete XI.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

Rebased and CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

Remove debug code.


Mordante added a comment.

Rebased and polishing.



================
Comment at: libcxx/include/atomic:2656
 
 _LIBCPP_END_NAMESPACE_STD
 
----------------
These are removed due to breakage see https://buildkite.com/llvm-project/libcxx-ci/builds/15514#0184ddf6-ad35-496a-8808-4b35ec626653

chrono does not affect C++03 so not listed in the release notes.



Some of the calendar types have landed before, this adds the missing
set. Note this does not complete the implementation of the chrono
formatters.

This removes the `chrono` header for some transitive include in C++17
mode. This is needed to avoid inclusion cycles.

Partially implements:

- P1361 <https://reviews.llvm.org/P1361> Integration of chrono with text formatting
- P2372 <https://reviews.llvm.org/P2372> Fixing locale handling in chrono formatters


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137022

Files:
  libcxx/docs/ReleaseNotes.rst
  libcxx/docs/Status/FormatPaper.csv
  libcxx/include/__chrono/convert_to_tm.h
  libcxx/include/__chrono/formatter.h
  libcxx/include/__chrono/ostream.h
  libcxx/include/__chrono/parser_std_format_spec.h
  libcxx/include/__format/parser_std_format_spec.h
  libcxx/include/atomic
  libcxx/include/chrono
  libcxx/include/optional
  libcxx/test/libcxx/transitive_includes/cxx03.csv
  libcxx/test/libcxx/transitive_includes/cxx11.csv
  libcxx/test/libcxx/transitive_includes/cxx14.csv
  libcxx/test/libcxx/transitive_includes/cxx17.csv
  libcxx/test/std/time/time.cal/time.cal.md/time.cal.md.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.mdlast/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.wdlast/time.cal.wdlast.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ostream.pass.cpp
  libcxx/test/std/time/time.syn/formatter.month_day.pass.cpp
  libcxx/test/std/time/time.syn/formatter.month_day_last.pass.cpp
  libcxx/test/std/time/time.syn/formatter.month_weekday.pass.cpp
  libcxx/test/std/time/time.syn/formatter.weekday_index.pass.cpp
  libcxx/test/std/time/time.syn/formatter.weekday_last.pass.cpp
  libcxx/test/std/time/time.syn/formatter.year_month.pass.cpp
  libcxx/test/std/time/time.syn/formatter.year_month_day.pass.cpp
  libcxx/test/std/time/time.syn/formatter.year_month_day_last.pass.cpp
  libcxx/test/std/time/time.syn/formatter.year_month_weekday.pass.cpp
  libcxx/test/std/time/time.syn/formatter.year_month_weekday_last.pass.cpp
  libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137022.481318.patch
Type: text/x-patch
Size: 439532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221208/dfa71544/attachment-0001.bin>


More information about the libcxx-commits mailing list