Lines Matching refs:FileMgr
60 FileMgr(SourceMgr.getFileManager()), FrameworkMap(64), in HeaderSearch()
114 if (const HeaderMap *HM = HeaderMap::Create(FE, FileMgr)) { in CreateHeaderMap()
149 FileMgr.getDirectory(llvm::sys::path::parent_path(ModuleMapPath)); in getModuleFileName()
152 auto DirName = FileMgr.getCanonicalName(Dir); in getModuleFileName()
180 = FileMgr.getDirectory(FrameworkDirName)) { in lookupModule()
356 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument
375 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName); in getTopFrameworkDir()
376 DirName = FileMgr.getCanonicalName(TopFrameworkDir); in getTopFrameworkDir()
384 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in getTopFrameworkDir()
406 FileManager &FileMgr = HS.getFileMgr(); in DoFrameworkLookup() local
441 const DirectoryEntry *Dir = FileMgr.getDirectory(FrameworkName); in DoFrameworkLookup()
479 const FileEntry *FE = FileMgr.getFile(FrameworkName, in DoFrameworkLookup()
490 FE = FileMgr.getFile(FrameworkName, /*openFile=*/!SuggestedModule); in DoFrameworkLookup()
500 const DirectoryEntry *Dir = FileMgr.getDirectory(FrameworkPath); in DoFrameworkLookup()
866 const DirectoryEntry *Dir = FileMgr.getDirectory(FrameworkName); in LookupSubframeworkHeader()
891 if (!(FE = FileMgr.getFile(HeadersFilename, /*openFile=*/true))) { in LookupSubframeworkHeader()
903 if (!(FE = FileMgr.getFile(HeadersFilename, /*openFile=*/true))) in LookupSubframeworkHeader()
1110 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in hasModuleMap()
1170 = ::getTopFrameworkDir(FileMgr, FrameworkName, SubmodulePath); in findUsableModuleForFrameworkHeader()
1189 FileManager &FileMgr) { in getPrivateModuleMap() argument
1198 return FileMgr.getFile(PrivateFilename); in getPrivateModuleMap()
1206 Dir = FileMgr.getDirectory("."); in loadModuleMapFile()
1213 Dir = FileMgr.getDirectory(DirName); in loadModuleMapFile()
1248 if (const FileEntry *PMMFile = getPrivateModuleMap(File, FileMgr)) { in loadModuleMapFileImpl()
1269 if (const FileEntry *F = FileMgr.getFile(ModuleMapFileName)) in lookupModuleMapFile()
1275 return FileMgr.getFile(ModuleMapFileName); in lookupModuleMapFile()
1307 if (const DirectoryEntry *Dir = FileMgr.getDirectory(DirName)) in loadModuleMapFile()
1349 vfs::FileSystem &FS = *FileMgr.getVirtualFileSystem(); in collectAllModules()
1356 FileMgr.getDirectory(Dir->getName()); in collectAllModules()
1417 vfs::FileSystem &FS = *FileMgr.getVirtualFileSystem(); in loadSubdirectoryModuleMaps()