From a38d13ed3635bfdd35226e8d8d0661a42bcd35c6 Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Wed, 25 Nov 2020 12:49:18 +0100 Subject: [PATCH] [clangd] Use TimePoint<> instead of system_clock::time_point, it does matter after all. --- clang-tools-extra/clangd/support/FileCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/clangd/support/FileCache.h b/clang-tools-extra/clangd/support/FileCache.h index 75782e9ae021..ffc5deb7442b 100644 --- a/clang-tools-extra/clangd/support/FileCache.h +++ b/clang-tools-extra/clangd/support/FileCache.h @@ -71,7 +71,7 @@ private: // Time when the cache was known valid (reflected disk state). mutable std::chrono::steady_clock::time_point ValidTime; // Filesystem metadata corresponding to the currently cached data. - mutable std::chrono::system_clock::time_point ModifiedTime; + mutable llvm::sys::TimePoint<> ModifiedTime; mutable uint64_t Size; }; -- 2.34.1