Lines Matching defs:DirName
152 auto DirName = FileMgr.getCanonicalName(Dir);
156 llvm::hash_combine(DirName.lower(), FileName.lower(),
351 /// \param DirName The name of the framework directory.
355 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName,
357 assert(llvm::sys::path::extension(DirName) == ".framework" &&
374 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName);
375 DirName = FileMgr.getCanonicalName(TopFrameworkDir);
378 DirName = llvm::sys::path::parent_path(DirName);
379 if (DirName.empty())
383 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName);
389 if (llvm::sys::path::extension(DirName) == ".framework") {
390 SubmodulePath.push_back(llvm::sys::path::stem(DirName));
1100 StringRef DirName = FileName;
1103 DirName = llvm::sys::path::parent_path(DirName);
1104 if (DirName.empty())
1108 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName);
1207 StringRef DirName(Dir->getName());
1208 if (llvm::sys::path::filename(DirName) == "Modules") {
1209 DirName = llvm::sys::path::parent_path(DirName);
1210 if (DirName.endswith(".framework"))
1211 Dir = FileMgr.getDirectory(DirName);
1303 HeaderSearch::loadModuleMapFile(StringRef DirName, bool IsSystem,
1305 if (const DirectoryEntry *Dir = FileMgr.getDirectory(DirName))