Lines Matching defs:Dir
176 const DirectoryEntry *Dir = File->getDir();
177 assert(Dir && "file in no directory");
183 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir);
188 auto KnownDir = UmbrellaDirs.find(Dir);
192 IntermediateDirs.push_back(Dir);
200 Dir = SourceMgr.getFileManager().getDirectory(DirName);
201 } while (Dir);
446 const DirectoryEntry *Dir = Header->getDir();
448 StringRef DirName = Dir->getName();
459 = UmbrellaDirs.find(Dir);
498 SkippedDirs.push_back(Dir);
506 Dir = SourceMgr.getFileManager().getDirectory(DirName);
507 } while (Dir);
715 Dir(SubframeworksDirName.str(), EC), DirEnd;
716 Dir != DirEnd && !EC; Dir.increment(EC)) {
717 if (!StringRef(Dir->path()).endswith(".framework"))
721 = FileMgr.getDirectory(Dir->path())) {
747 llvm::sys::path::stem(Dir->path()), NameBuf),
1742 /// umbrella-dir-declaration:
1765 const DirectoryEntry *Dir = nullptr;
1767 Dir = SourceMgr.getFileManager().getDirectory(DirName);
1772 Dir = SourceMgr.getFileManager().getDirectory(PathName);
1775 if (!Dir) {
1782 if (Module *OwningModule = Map.UmbrellaDirs[Dir]) {
1790 Map.setUmbrellaDir(ActiveModule, Dir);
2268 const DirectoryEntry *Dir = File->getDir();
2269 StringRef DirName(Dir->getName());
2273 Dir = SourceMgr.getFileManager().getDirectory(DirName);
2274 assert(Dir && "parent must exist");
2279 ModuleMapParser Parser(L, SourceMgr, Target, Diags, *this, File, Dir,