Lines Matching refs:Stat
30 auto Stat = std::move(*MaybeStat); in readFile() local
32 auto MaybeBuffer = File->getBuffer(Stat.getName()); in readFile()
38 if (Stat.getSize() != Buffer->getBufferSize()) in readFile()
39 Stat = llvm::vfs::Status::copyWithNewSize(Stat, Buffer->getBufferSize()); in readFile()
41 return TentativeEntry(Stat, std::move(Buffer)); in readFile()
128 llvm::ErrorOr<llvm::vfs::Status> Stat) { in getOrEmplaceEntryForFilename() argument
133 new (EntryStorage.Allocate()) CachedFileSystemEntry(std::move(Stat)); in getOrEmplaceEntryForFilename()
139 llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, in getOrEmplaceEntryForUID() argument
149 CachedFileSystemEntry(std::move(Stat), StoredContents); in getOrEmplaceEntryForUID()
215 llvm::ErrorOr<llvm::vfs::Status> Stat = getUnderlyingFS().status(Filename); in computeAndStoreResult() local
216 if (!Stat) { in computeAndStoreResult()
218 return Stat.getError(); in computeAndStoreResult()
220 getOrEmplaceSharedEntryForFilename(Filename, Stat.getError()); in computeAndStoreResult()
224 if (const auto *Entry = findSharedEntryByUID(*Stat)) in computeAndStoreResult()
228 Stat->isDirectory() ? TentativeEntry(*Stat) : readFile(Filename); in computeAndStoreResult()
274 llvm::vfs::Status Stat) in DepScanFile() argument
275 : Buffer(std::move(Buffer)), Stat(std::move(Stat)) {} in DepScanFile()
279 llvm::ErrorOr<llvm::vfs::Status> status() override { return Stat; } in status()
291 llvm::vfs::Status Stat; member in __anon1a2937700211::DepScanFile