Home | History | Annotate | Download | only in Basic

Lines Matching defs:DirName

172   StringRef DirName = llvm::sys::path::parent_path(Filename);
174 if (DirName.empty())
175 DirName = ".";
177 return FileMgr.getDirectory(DirName, CacheFailure);
183 StringRef DirName = llvm::sys::path::parent_path(Path);
184 if (DirName.empty())
188 SeenDirEntries.GetOrCreateValue(DirName);
191 // at the same time. Therefore, if DirName is already in the cache,
204 addAncestorsAsVirtualDirs(DirName);
207 const DirectoryEntry *FileManager::getDirectory(StringRef DirName,
212 if (DirName.size() > 1 &&
213 DirName != llvm::sys::path::root_path(DirName) &&
214 llvm::sys::path::is_separator(DirName.back()))
215 DirName = DirName.substr(0, DirName.size()-1);
220 if (DirName.size() > 1 && DirName.back() == ':' &&
221 DirName.equals_lower(llvm::sys::path::root_name(DirName))) {
222 DirNameStr = DirName.str() + '.';
223 DirName = DirNameStr;
229 SeenDirEntries.GetOrCreateValue(DirName);
251 SeenDirEntries.erase(DirName);