Lines Matching defs:File
1 //===--- FileManager.cpp - File System Probing and Caching ----------------===//
253 std::unique_ptr<llvm::vfs::File> F;
328 UFE.File = std::move(F);
331 if (UFE.File) {
332 if (auto PathName = UFE.File->getName())
412 if (UFE->File)
437 UFE->File.reset();
523 if (Entry->File) {
524 auto Result = Entry->File->getBuffer(Filename, FileSize,
556 bool isFile, std::unique_ptr<llvm::vfs::File> *F) {
620 StringRef FileManager::getCanonicalName(const FileEntry *File) {
622 = CanonicalNames.find(File);
626 StringRef CanonicalName(File->getName());
629 if (!FS->getRealPath(File->getName(), CanonicalNameBuf))
632 CanonicalNames.insert({File, CanonicalName});
637 llvm::errs() << "\n*** File Manager Stats:\n";