[clangd] Use TimePoint<> instead of system_clock::time_point, it does matter after...
authorSam McCall <sam.mccall@gmail.com>
Wed, 25 Nov 2020 11:49:18 +0000 (12:49 +0100)
committerSam McCall <sam.mccall@gmail.com>
Wed, 25 Nov 2020 11:49:24 +0000 (12:49 +0100)
clang-tools-extra/clangd/support/FileCache.h

index 75782e9ae0215e4e0f4d640d88f880c8cfbf16b2..ffc5deb7442bae592a81e5ad8f98a1a4610da6ca 100644 (file)
@@ -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;
 };