Home | History | Annotate | Download | only in Basic

Lines Matching refs:Path

27 #include "llvm/Support/Path.h"
80 /// UniqueDirs - Cache from full path to existing directories/files.
98 /// UniqueFiles - Cache from full path to existing directories/files.
224 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1]))
227 llvm::StringRef DirName = llvm::sys::path::parent_path(Filename);
228 // Use the current directory if file has no path component.
235 /// Add all ancestors of the given path (pointing to either a file or
237 void FileManager::addAncestorsAsVirtualDirs(llvm::StringRef Path) {
238 llvm::StringRef DirName = llvm::sys::path::parent_path(Path);
289 // There's no real directory at the given path.
295 // symlinked to another, for example) or the same path (on
349 // There's no real file at the given path.
454 void FileManager::FixupRelativePath(llvm::SmallVectorImpl<char> &path) const {
455 llvm::StringRef pathRef(path.data(), path.size());
458 || llvm::sys::path::is_absolute(pathRef))
462 llvm::sys::path::append(NewPath, pathRef);
463 path = NewPath;
520 /// getStatValue - Get the 'stat' information for the specified path,
522 /// if the path points to a virtual file or does not exist, or returns
525 bool FileManager::getStatValue(const char *Path, struct stat &StatBuf,
530 return FileSystemStatCache::get(Path, StatBuf, FileDescriptor,
533 llvm::SmallString<128> FilePath(Path);
540 bool FileManager::getNoncachedStatValue(llvm::StringRef Path,
542 llvm::SmallString<128> FilePath(Path);