[libc++] Implement file_clock::{to,from}_sys
authorLouis Dionne <ldionne.2@gmail.com>
Mon, 8 Nov 2021 20:30:32 +0000 (15:30 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Thu, 11 Nov 2021 19:17:02 +0000 (14:17 -0500)
commitdce5fc56b6191ec63fd1d2bed7d3c815bacc49b7
treedffeb4c464cdc966e48c4ab5e76ec3cf72732f7c
parent4e70b50b74dba909f1d8277e26896d9a0d23d428
[libc++] Implement file_clock::{to,from}_sys

This is part of https://wg21.link/P0355R7. I am adding these methods
to provide an alternative for the {from,to}_time_t methods that were
removed in https://llvm.org/D113027.

Differential Revision: https://reviews.llvm.org/D113430
libcxx/docs/ReleaseNotes.rst
libcxx/include/chrono
libcxx/test/std/utilities/time/time.clock/time.clock.file/to_from_sys.pass.cpp [new file with mode: 0644]