diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:00:08 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:00:08 +0000 | 
| commit | c7dac04c3480f3c20487f912f77343139fce2d99 (patch) | |
| tree | 21a09bce0171e27bd1e92649db9df797fa097cea /include/llvm/Support/CachePruning.h | |
| parent | 044eb2f6afba375a914ac9d8024f8f5142bb912e (diff) | |
Notes
Diffstat (limited to 'include/llvm/Support/CachePruning.h')
| -rw-r--r-- | include/llvm/Support/CachePruning.h | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Support/CachePruning.h b/include/llvm/Support/CachePruning.h index c577e9b8b6310..327c7df4570fe 100644 --- a/include/llvm/Support/CachePruning.h +++ b/include/llvm/Support/CachePruning.h @@ -27,8 +27,9 @@ template <typename T> class Expected;  struct CachePruningPolicy {    /// The pruning interval. This is intended to be used to avoid scanning the    /// directory too often. It does not impact the decision of which file to -  /// prune. A value of 0 forces the scan to occur. -  std::chrono::seconds Interval = std::chrono::seconds(1200); +  /// prune. A value of 0 forces the scan to occur. A value of None disables +  /// pruning. +  llvm::Optional<std::chrono::seconds> Interval = std::chrono::seconds(1200);    /// The expiration for a file. When a file hasn't been accessed for Expiration    /// seconds, it is removed from the cache. A value of 0 disables the  | 
