[PATCH] D18422: Add Cache Pruning support
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 19:27:44 PDT 2016
silvas added a subscriber: silvas.
================
Comment at: lib/Support/CachePruning.cpp:53
@@ +52,3 @@
+ StatBuf.st_mtime = 0;
+ if (::stat(TimestampFile.c_str(), &StatBuf)) {
+ if (errno == ENOENT) {
----------------
Can you use sys::fs::status? If not, can you add a comment about why not?
http://reviews.llvm.org/D18422
More information about the llvm-commits
mailing list