1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: c++98, c++03
12 // <experimental/filesystem>
14 // typedef TrivialClock file_time_type;
16 #include <experimental/filesystem>
18 #include <type_traits>
20 // system_clock is used because it meets the requirements of TrivialClock,
21 // and the resolution and range of system_clock should match the operating
22 // system's file time type.
23 typedef std::chrono::system_clock ExpectedClock;
24 typedef std::chrono::time_point<ExpectedClock> ExpectedTimePoint;
27 static_assert(std::is_same<
28 std::experimental::filesystem::file_time_type,