Lines Matching refs:Path
24 #include "llvm/Support/Path.h"
211 /// \brief Compute the relative path that names the given file relative to
219 StringRef Path = FilePath;
220 while (!Path.empty()) {
221 if (const DirectoryEntry *CurDir = FM.getDirectory(Path)) {
223 Result = FilePath.substr(Path.size());
224 llvm::sys::path::append(Result,
225 llvm::sys::path::filename(File->getName()));
230 Path = llvm::sys::path::parent_path(Path);
464 if (!StringSwitch<bool>(llvm::sys::path::extension(Entry->getName()))
473 // Find the relative path that would access this header.