Files
android_external_libcxx/include
Eric Fiselier 81872e95bf [libc++] Use __int128_t to represent file_time_type.
Summary:
The ``file_time_type`` time point is used to represent the write times for files.
Its job is to act as part of a C++ wrapper for less ideal system interfaces. The
underlying filesystem uses the ``timespec`` struct for the same purpose.

However, the initial implementation of ``file_time_type`` could not represent
either the range or resolution of ``timespec``, making it unsuitable. Fixing
this requires an implementation which uses more than 64 bits to store the
time point.

I primarily considered two solutions: Using ``__int128_t`` and using a
arithmetic emulation of ``timespec``. Each has its pros and cons, and both
come with more than one complication.

However, after a lot of consideration, I decided on using `__int128_t`. This patch implements that change.

Please see the [FileTimeType Design Document](http://libcxx.llvm.org/docs/DesignDocs/FileTimeType.html) for more information.

Reviewers: mclow.lists, ldionne, joerg, arthur.j.odwyer, EricWF

Reviewed By: EricWF

Subscribers: christof, K-ballo, cfe-commits, BillyONeal

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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337960 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-25 20:51:49 +00:00
..
2018-06-01 18:02:53 +00:00
2015-10-08 20:37:11 +00:00
2015-10-08 20:37:44 +00:00
2015-10-08 20:41:26 +00:00
2015-10-09 19:57:37 +00:00
2018-05-18 23:44:13 +00:00
2018-07-22 02:00:53 +00:00
2017-06-01 02:29:37 +00:00
2016-10-10 15:56:01 +00:00
2018-05-25 02:08:49 +00:00
2016-02-20 00:16:41 +00:00
2018-02-12 19:13:24 +00:00
2015-10-09 19:57:37 +00:00