Lines Matching defs:Path
25 #include "llvm/Support/Path.h"
231 /// \brief Compute the relative path that names the given file relative to
239 StringRef Path = FilePath;
240 while (!Path.empty()) {
241 if (const DirectoryEntry *CurDir = FM.getDirectory(Path)) {
243 Result = FilePath.substr(Path.size());
244 llvm::sys::path::append(Result,
245 llvm::sys::path::filename(File->getName()));
250 Path = llvm::sys::path::parent_path(Path);
497 if (!StringSwitch<bool>(llvm::sys::path::extension(Entry->getName()))
506 // Find the relative path that would access this header.