Lines Matching refs:URIForFile
46 URIForFile URIForFile::canonicalize(llvm::StringRef AbsPath,
51 elog("URIForFile: failed to resolve path {0} with TU path {1}: "
54 return URIForFile(std::string(AbsPath));
56 return URIForFile(std::move(*Resolved));
59 llvm::Expected<URIForFile> URIForFile::fromURI(const URI &U,
64 return URIForFile(std::move(*Resolved));
67 bool fromJSON(const llvm::json::Value &E, URIForFile &R, llvm::json::Path P) {
80 auto U = URIForFile::fromURI(*Parsed, /*HintPath=*/"");
92 llvm::json::Value toJSON(const URIForFile &U) { return U.uri(); }
94 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const URIForFile &U) {