We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ab68b commit a0d03adCopy full SHA for a0d03ad
clang/include/clang/Serialization/ModuleCache.h
@@ -33,6 +33,10 @@ class ModuleCache : public RefCountedBase<ModuleCache> {
33
virtual std::unique_ptr<llvm::AdvisoryLock>
34
getLock(StringRef ModuleFilename) = 0;
35
36
+ // TODO: Abstract away timestamps with isUpToDate() and markUpToDate().
37
+ // TODO: Consider exposing a "validation lock" API to prevent multiple clients
38
+ // concurrently noticing an out-of-date module file and validating its inputs.
39
+
40
/// Returns the timestamp denoting the last time inputs of the module file
41
/// were validated.
42
virtual std::time_t getModuleTimestamp(StringRef ModuleFilename) = 0;
0 commit comments