Home | History | Annotate | Download | only in DependencyScanning

Lines Matching defs:Stat

25   llvm::ErrorOr<llvm::vfs::Status> Stat = (*MaybeFile)->status();
26 if (!Stat)
27 return Stat.getError();
31 F.getBuffer(Stat->getName());
45 Result.MaybeStat = std::move(*Stat);
56 Result.MaybeStat = llvm::vfs::Status(Stat->getName(), Stat->getUniqueID(),
57 Stat->getLastModificationTime(),
58 Stat->getUser(), Stat->getGroup(), Size,
59 Stat->getType(), Stat->getPermissions());
95 CachedFileSystemEntry::createDirectoryEntry(llvm::vfs::Status &&Stat) {
96 assert(Stat.isDirectory() && "not a directory!");
98 Result.MaybeStat = std::move(Stat);
149 return shouldMinimize(Filename); // Only cache stat failures on source files.
176 // HACK: We need to always restat non source files if the stat fails.
179 // cache the stat failure, it won't see them the second time.
217 llvm::vfs::Status Stat)
218 : Buffer(std::move(Buffer)), Stat(std::move(Stat)) {}
224 llvm::ErrorOr<llvm::vfs::Status> status() override { return Stat; }
236 llvm::vfs::Status Stat;