projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b66918
)
[clangd] Use TimePoint<> instead of system_clock::time_point, it does matter after...
author
Sam McCall
<sam.mccall@gmail.com>
Wed, 25 Nov 2020 11:49:18 +0000
(12:49 +0100)
committer
Sam McCall
<sam.mccall@gmail.com>
Wed, 25 Nov 2020 11:49:24 +0000
(12:49 +0100)
clang-tools-extra/clangd/support/FileCache.h
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/support/FileCache.h
b/clang-tools-extra/clangd/support/FileCache.h
index 75782e9ae0215e4e0f4d640d88f880c8cfbf16b2..ffc5deb7442bae592a81e5ad8f98a1a4610da6ca 100644
(file)
--- 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;
};