Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDFileManager.cpp68 void FileManager::addStatCache(std::unique_ptr<FileSystemStatCache> statCache, in addStatCache() argument
70 assert(statCache && "No stat cache provided?"); in addStatCache()
72 statCache->setNextStatCache(std::move(StatCache)); in addStatCache()
73 StatCache = std::move(statCache); in addStatCache()
81 LastCache->setNextStatCache(std::move(statCache)); in addStatCache()
84 void FileManager::removeStatCache(FileSystemStatCache *statCache) { in removeStatCache() argument
85 if (!statCache) in removeStatCache()
88 if (StatCache.get() == statCache) { in removeStatCache()
96 while (PrevCache && PrevCache->getNextStatCache() != statCache) in removeStatCache()
100 PrevCache->setNextStatCache(statCache->takeNextStatCache()); in removeStatCache()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDFileManager.h189 void addStatCache(std::unique_ptr<FileSystemStatCache> statCache,
193 void removeStatCache(FileSystemStatCache *statCache);