Lines Matching defs:RelativePath
261 llvm::SmallString<256> RelativePath = llvm::StringRef(Path);
262 if (replace_path_prefix(RelativePath, LocalIndexRoot, ""))
264 convert_to_slash(RelativePath, Style::windows));
370 Marshaller::relativePathToURI(llvm::StringRef RelativePath) {
372 assert(RelativePath == convert_to_slash(RelativePath));
373 if (RelativePath.empty())
375 if (is_absolute(RelativePath, Style::posix))
376 return error("RelativePath '{0}' is absolute.", RelativePath);
378 append(FullPath, RelativePath);
452 auto RelativePath = uriToRelativePath(Location.FileURI);
453 if (!RelativePath)
454 return RelativePath.takeError();
455 *Result.mutable_file_path() = *RelativePath;
471 auto RelativePath = uriToRelativePath(Header);
472 if (!RelativePath)
473 return RelativePath.takeError();
474 Result.set_header(*RelativePath);