Lines Matching refs:Path

143   llvm::SmallString<128> Path(Directory.getName());  in findAPINotesFile()  local
148 llvm::sys::path::append(Path, llvm::Twine(Basename) + Suffix + "." + in findAPINotesFile()
150 return FM.getOptionalFileRef(Path, /*Open*/ true); in findAPINotesFile()
157 llvm::SmallString<128> Path(FrameworkPath); in loadFrameworkAPINotes() local
158 unsigned FrameworkNameLength = Path.size(); in loadFrameworkAPINotes()
163 llvm::sys::path::append(Path, "APINotes"); in loadFrameworkAPINotes()
164 llvm::sys::path::append(Path, (llvm::Twine(FrameworkName) + Suffix + "." + in loadFrameworkAPINotes()
168 auto APINotesFile = FM.getOptionalFileRef(Path); in loadFrameworkAPINotes()
173 Path.resize(FrameworkNameLength); in loadFrameworkAPINotes()
174 llvm::sys::path::append(Path, Public ? "Headers" : "PrivateHeaders"); in loadFrameworkAPINotes()
177 auto HeaderDir = FM.getOptionalDirectoryRef(Path); in loadFrameworkAPINotes()
248 llvm::SmallString<128> Path(M->Directory->getName()); in getCurrentModuleAPINotes() local
251 unsigned PathLen = Path.size(); in getCurrentModuleAPINotes()
253 llvm::sys::path::append(Path, "Headers"); in getCurrentModuleAPINotes()
254 if (auto APINotesDir = FM.getOptionalDirectoryRef(Path)) in getCurrentModuleAPINotes()
257 Path.resize(PathLen); in getCurrentModuleAPINotes()
261 llvm::sys::path::append(Path, "PrivateHeaders"); in getCurrentModuleAPINotes()
262 if (auto PrivateAPINotesDir = FM.getOptionalDirectoryRef(Path)) in getCurrentModuleAPINotes()
384 StringRef Path = Dir->getName(); in findAPINotes() local
385 if (llvm::sys::path::extension(Path) == ".framework") { in findAPINotes()
388 auto FrameworkName = llvm::sys::path::stem(Path); in findAPINotes()
393 loadFrameworkAPINotes(Path, FrameworkName, /*Public=*/true); in findAPINotes()
395 loadFrameworkAPINotes(Path, FrameworkName, /*Public=*/false); in findAPINotes()
443 StringRef ParentPath = llvm::sys::path::parent_path(Path); in findAPINotes()