Home
last modified time | relevance | path

Searched refs:TimestampFile (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCachePruning.cpp47 static void writeTimestampFile(StringRef TimestampFile) { in writeTimestampFile() argument
49 raw_fd_ostream Out(TimestampFile.str(), EC, sys::fs::OF_None); in writeTimestampFile()
171 SmallString<128> TimestampFile(Path); in pruneCache() local
172 sys::path::append(TimestampFile, "llvmcache.timestamp"); in pruneCache()
175 if (auto EC = sys::fs::status(TimestampFile, FileStatus)) { in pruneCache()
178 writeTimestampFile(TimestampFile); in pruneCache()
201 writeTimestampFile(TimestampFile); in pruneCache()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1623 static void writeTimestampFile(StringRef TimestampFile) { in writeTimestampFile() argument
1625 llvm::raw_fd_ostream Out(TimestampFile.str(), EC, llvm::sys::fs::OF_None); in writeTimestampFile()
1632 llvm::SmallString<128> TimestampFile; in pruneModuleCache() local
1633 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache()
1634 assert(!TimestampFile.empty()); in pruneModuleCache()
1635 llvm::sys::path::append(TimestampFile, "modules.timestamp"); in pruneModuleCache()
1638 if (std::error_code EC = llvm::sys::fs::status(TimestampFile, StatBuf)) { in pruneModuleCache()
1641 writeTimestampFile(TimestampFile); in pruneModuleCache()
1657 writeTimestampFile(TimestampFile); in pruneModuleCache()