[PATCH] D40119: [Support][CachePruning] Fix regression in pruning interval
ben via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 05:16:02 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL318397: [Support][CachePruning] Fix regression in pruning interval (authored by bd1976llvm).
Changed prior to commit:
https://reviews.llvm.org/D40119?vs=123150&id=123163#toc
Repository:
rL LLVM
https://reviews.llvm.org/D40119
Files:
llvm/trunk/lib/Support/CachePruning.cpp
Index: llvm/trunk/lib/Support/CachePruning.cpp
===================================================================
--- llvm/trunk/lib/Support/CachePruning.cpp
+++ llvm/trunk/lib/Support/CachePruning.cpp
@@ -161,7 +161,7 @@
return false;
}
} else {
- if (Policy.Interval == seconds(0)) {
+ if (Policy.Interval != seconds(0)) {
// Check whether the time stamp is older than our pruning interval.
// If not, do nothing.
const auto TimeStampModTime = FileStatus.getLastModificationTime();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40119.123163.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/61ed25c1/attachment.bin>
More information about the llvm-commits
mailing list