Lines Matching defs:File
55 if (const FileEntry *File = Mod->getASTFile())
56 return lookup(File);
61 ModuleFile *ModuleManager::lookup(const FileEntry *File) const {
62 auto Known = Modules.find(File);
173 NewModule->File = Entry;
216 Buf = FileMgr.getBufferForFile(NewModule->File,
286 Modules.erase(victim->File);
463 Optional<FileEntryRef> &File) {
464 File = None;
476 File = *FileOrErr;
478 if ((ExpectedSize && ExpectedSize != File->getSize()) ||
479 (ExpectedModTime && ExpectedModTime != File->getModificationTime()))
480 // Do not destroy File, as it may be referenced. If we need to rebuild it,