Lines Matching refs:Stat
29 auto Stat = std::move(*MaybeStat); in readFile() local
31 auto MaybeBuffer = File->getBuffer(Stat.getName()); in readFile()
37 if (Stat.getSize() != Buffer->getBufferSize()) in readFile()
38 Stat = llvm::vfs::Status::copyWithNewSize(Stat, Buffer->getBufferSize()); in readFile()
40 return TentativeEntry(Stat, std::move(Buffer)); in readFile()
127 llvm::ErrorOr<llvm::vfs::Status> Stat) { in getOrEmplaceEntryForFilename() argument
132 new (EntryStorage.Allocate()) CachedFileSystemEntry(std::move(Stat)); in getOrEmplaceEntryForFilename()
138 llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, in getOrEmplaceEntryForUID() argument
148 CachedFileSystemEntry(std::move(Stat), StoredContents); in getOrEmplaceEntryForUID()
214 llvm::ErrorOr<llvm::vfs::Status> Stat = getUnderlyingFS().status(Filename); in computeAndStoreResult() local
215 if (!Stat) { in computeAndStoreResult()
217 return Stat.getError(); in computeAndStoreResult()
219 getOrEmplaceSharedEntryForFilename(Filename, Stat.getError()); in computeAndStoreResult()
223 if (const auto *Entry = findSharedEntryByUID(*Stat)) in computeAndStoreResult()
227 Stat->isDirectory() ? TentativeEntry(*Stat) : readFile(Filename); in computeAndStoreResult()
273 llvm::vfs::Status Stat) in DepScanFile() argument
274 : Buffer(std::move(Buffer)), Stat(std::move(Stat)) {} in DepScanFile()
278 llvm::ErrorOr<llvm::vfs::Status> status() override { return Stat; } in status()
290 llvm::vfs::Status Stat; member in __anond7db1c890211::DepScanFile