Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DCachePruning.cpp46 static void writeTimestampFile(StringRef TimestampFile) { in writeTimestampFile() argument
48 raw_fd_ostream Out(TimestampFile.str(), EC, sys::fs::OF_None); in writeTimestampFile()
169 SmallString<128> TimestampFile(Path); in pruneCache() local
170 sys::path::append(TimestampFile, "llvmcache.timestamp"); in pruneCache()
173 if (auto EC = sys::fs::status(TimestampFile, FileStatus)) { in pruneCache()
176 writeTimestampFile(TimestampFile); in pruneCache()
199 writeTimestampFile(TimestampFile); in pruneCache()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1416 static void writeTimestampFile(StringRef TimestampFile) { in writeTimestampFile() argument
1418 llvm::raw_fd_ostream Out(TimestampFile.str(), EC, llvm::sys::fs::OF_None); in writeTimestampFile()
1425 llvm::SmallString<128> TimestampFile; in pruneModuleCache() local
1426 TimestampFile = HSOpts.ModuleCachePath; in pruneModuleCache()
1427 assert(!TimestampFile.empty()); in pruneModuleCache()
1428 llvm::sys::path::append(TimestampFile, "modules.timestamp"); in pruneModuleCache()
1431 if (std::error_code EC = llvm::sys::fs::status(TimestampFile, StatBuf)) { in pruneModuleCache()
1434 writeTimestampFile(TimestampFile); in pruneModuleCache()
1450 writeTimestampFile(TimestampFile); in pruneModuleCache()