llvm.org GIT mirror llvm / a2ea8f5
CachePruning: fix typo, we accumulate file size here, not time From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266685 91177308-0d34-0410-b5e6-96231b3b80d8 Mehdi Amini 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7575 return;
7676 TotalSize += FileStatus.getSize();
7777 FileSizes.insert(
78 std::make_pair(FileAccessTime.seconds(), std::string(Path)));
78 std::make_pair(FileStatus.getSize(), std::string(Path)));
7979 };
8080
8181 // Walk the entire directory cache, looking for unused files.