Home | History | Annotate | Download | only in Basic

Lines Matching refs:DirName

251   StringRef DirName = llvm::sys::path::parent_path(Filename);
253 if (DirName.empty())
254 DirName = ".";
256 return FileMgr.getDirectory(DirName, CacheFailure);
262 StringRef DirName = llvm::sys::path::parent_path(Path);
263 if (DirName.empty())
267 SeenDirEntries.GetOrCreateValue(DirName);
270 // at the same time. Therefore, if DirName is already in the cache,
283 addAncestorsAsVirtualDirs(DirName);
286 const DirectoryEntry *FileManager::getDirectory(StringRef DirName,
291 if (DirName.size() > 1 &&
292 DirName != llvm::sys::path::root_path(DirName) &&
293 llvm::sys::path::is_separator(DirName.back()))
294 DirName = DirName.substr(0, DirName.size()-1);
298 SeenDirEntries.GetOrCreateValue(DirName);
320 SeenDirEntries.erase(DirName);