Lines Matching refs:Path

144   llvm::SmallString<128> Path(Directory.getName());  in findAPINotesFile()  local
149 llvm::sys::path::append(Path, llvm::Twine(Basename) + Suffix + "." + in findAPINotesFile()
151 return FM.getOptionalFileRef(Path, /*Open*/ true); in findAPINotesFile()
158 llvm::SmallString<128> Path(FrameworkPath); in loadFrameworkAPINotes() local
159 unsigned FrameworkNameLength = Path.size(); in loadFrameworkAPINotes()
164 llvm::sys::path::append(Path, "APINotes"); in loadFrameworkAPINotes()
165 llvm::sys::path::append(Path, (llvm::Twine(FrameworkName) + Suffix + "." + in loadFrameworkAPINotes()
169 auto APINotesFile = FM.getOptionalFileRef(Path); in loadFrameworkAPINotes()
174 Path.resize(FrameworkNameLength); in loadFrameworkAPINotes()
175 llvm::sys::path::append(Path, Public ? "Headers" : "PrivateHeaders"); in loadFrameworkAPINotes()
178 auto HeaderDir = FM.getOptionalDirectoryRef(Path); in loadFrameworkAPINotes()
254 llvm::SmallString<128> Path(M->Directory->getName()); in getCurrentModuleAPINotes() local
257 unsigned PathLen = Path.size(); in getCurrentModuleAPINotes()
259 llvm::sys::path::append(Path, "Headers"); in getCurrentModuleAPINotes()
260 if (auto APINotesDir = FM.getOptionalDirectoryRef(Path)) in getCurrentModuleAPINotes()
263 Path.resize(PathLen); in getCurrentModuleAPINotes()
267 llvm::sys::path::append(Path, "PrivateHeaders"); in getCurrentModuleAPINotes()
268 if (auto PrivateAPINotesDir = FM.getOptionalDirectoryRef(Path)) in getCurrentModuleAPINotes()
390 StringRef Path = Dir->getName(); in findAPINotes() local
391 if (llvm::sys::path::extension(Path) == ".framework") { in findAPINotes()
394 auto FrameworkName = llvm::sys::path::stem(Path); in findAPINotes()
399 loadFrameworkAPINotes(Path, FrameworkName, /*Public=*/true); in findAPINotes()
401 loadFrameworkAPINotes(Path, FrameworkName, /*Public=*/false); in findAPINotes()
449 StringRef ParentPath = llvm::sys::path::parent_path(Path); in findAPINotes()