Lines Matching refs:FileMgr
89 FileMgr(SourceMgr.getFileManager()), FrameworkMap(64), in HeaderSearch()
151 llvm::vfs::FileSystem &RootFS = FileMgr.getVirtualFileSystem(); in collectVFSUsageAndClear()
181 if (std::unique_ptr<HeaderMap> HM = HeaderMap::Create(FE, FileMgr)) { in CreateHeaderMap()
340 FileMgr.getOptionalDirectoryRef(FrameworkDirName)) { in lookupModule()
563 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument
582 auto TopFrameworkDir = FileMgr.getOptionalDirectoryRef(DirName); in getTopFrameworkDir()
585 DirName = FileMgr.getCanonicalName(*TopFrameworkDir); in getTopFrameworkDir()
593 auto Dir = FileMgr.getOptionalDirectoryRef(DirName); in getTopFrameworkDir()
621 FileManager &FileMgr = HS.getFileMgr(); in DoFrameworkLookup() local
657 auto Dir = FileMgr.getDirectory(FrameworkName); in DoFrameworkLookup()
699 FileMgr.getOptionalFileRef(FrameworkName, /*OpenFile=*/!SuggestedModule); in DoFrameworkLookup()
709 File = FileMgr.getOptionalFileRef(FrameworkName, in DoFrameworkLookup()
720 auto Dir = FileMgr.getDirectory(FrameworkPath); in DoFrameworkLookup()
1255 auto Dir = FileMgr.getOptionalDirectoryRef(FrameworkName); in LookupSubframeworkHeader()
1280 auto File = FileMgr.getOptionalFileRef(HeadersFilename, /*OpenFile=*/true); in LookupSubframeworkHeader()
1292 File = FileMgr.getOptionalFileRef(HeadersFilename, /*OpenFile=*/true); in LookupSubframeworkHeader()
1628 auto Dir = FileMgr.getOptionalDirectoryRef(DirName); in hasModuleMap()
1744 ::getTopFrameworkDir(FileMgr, FrameworkName, SubmodulePath); in findUsableModuleForFrameworkHeader()
1764 FileManager &FileMgr, in getPrivateModuleMap() argument
1774 auto PMMFile = FileMgr.getOptionalFileRef(PrivateFilename); in getPrivateModuleMap()
1791 Dir = FileMgr.getOptionalDirectoryRef("."); in loadModuleMapFile()
1796 Dir = FileMgr.getOptionalDirectoryRef( in loadModuleMapFile()
1799 auto FakeFile = FileMgr.getVirtualFileRef(OriginalModuleMapFile, 0, 0); in loadModuleMapFile()
1811 if (auto MaybeDir = FileMgr.getOptionalDirectoryRef(DirName)) in loadModuleMapFile()
1848 getPrivateModuleMap(File, FileMgr, Diags)) { in loadModuleMapFileImpl()
1869 if (auto F = FileMgr.getOptionalFileRef(ModuleMapFileName)) in lookupModuleMapFile()
1875 if (auto F = FileMgr.getOptionalFileRef(ModuleMapFileName)) { in lookupModuleMapFile()
1887 if (auto F = FileMgr.getOptionalFileRef(ModuleMapFileName)) in lookupModuleMapFile()
1917 if (auto Dir = FileMgr.getOptionalDirectoryRef(DirName)) in loadModuleMapFile()
1959 llvm::vfs::FileSystem &FS = FileMgr.getVirtualFileSystem(); in collectAllModules()
1966 auto FrameworkDir = FileMgr.getOptionalDirectoryRef(Dir->path()); in collectAllModules()
2020 FileMgr.makeAbsolutePath(Dir); in loadSubdirectoryModuleMaps()
2023 llvm::vfs::FileSystem &FS = FileMgr.getVirtualFileSystem(); in loadSubdirectoryModuleMaps()