[all-commits] [llvm/llvm-project] e5d2d3: [libc++][chrono] Implements formatter day.
mordante via All-commits
all-commits at lists.llvm.org
Wed Sep 7 09:44:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e5d2d3eafbb367450c4fb75d3ee72b3b4bba522b
https://github.com/llvm/llvm-project/commit/e5d2d3eafbb367450c4fb75d3ee72b3b4bba522b
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2022-09-07 (Wed, 07 Sep 2022)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/include/CMakeLists.txt
A libcxx/include/__chrono/convert_to_tm.h
A libcxx/include/__chrono/formatter.h
A libcxx/include/__chrono/ostream.h
A libcxx/include/__chrono/parser_std_format_spec.h
A libcxx/include/__chrono/statically_widen.h
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/include/chrono
M libcxx/include/module.modulemap.in
M libcxx/test/libcxx/private_headers.verify.cpp
M libcxx/test/libcxx/transitive_includes/cxx20/expected.chrono
M libcxx/test/libcxx/transitive_includes/cxx2b/expected.chrono
M libcxx/test/libcxx/utilities/format/format.formatter/format.formatter.spec/formattable.compile.pass.cpp
A libcxx/test/std/time/time.cal/time.cal.day/time.cal.day.nonmembers/ostream.pass.cpp
A libcxx/test/std/time/time.syn/formatter.day.pass.cpp
A libcxx/test/std/time/time.syn/formatter_tests.h
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/types.compile.pass.cpp
M libcxx/utils/ci/run-buildbot
Log Message:
-----------
[libc++][chrono] Implements formatter day.
This implements the enabled specializaton
template<class charT> struct formatter<chrono::day, charT>;
and
template<class charT, class traits>
basic_ostream<charT, traits>&
operator<<(basic_ostream<charT, traits>& os, const day& d);
Implements:
- LWG 3241 chrono-spec grammar ambiguity in ยง[time.format]
Partially implements:
- P1361 Integration of chrono with text formatting
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D128577
More information about the All-commits
mailing list