Searched refs:ParentPath (Results 1 – 8 of 8) sorted by relevance
37 SmallString<256> ParentPath = sys::path::parent_path(Path); in resolve() local41 if (!ResolvedPaths.count(ParentPath)) { in resolve()43 sys::fs::real_path(ParentPath, RealPath); in resolve()44 ResolvedPaths.insert({ParentPath, StringRef(RealPath).str()}); in resolve()48 SmallString<256> ResolvedPath(ResolvedPaths[ParentPath]); in resolve()
60 const char *ParentPath = getenv("RAW_PWRITE_TEST_FILE"); in TEST() local61 if (ParentPath) { in TEST()62 Path = ParentPath; in TEST()
43 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath() local44 sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true); in getOutputPath()45 sys::path::append(FullPath, sys::path::relative_path(ParentPath)); in getOutputPath()
44 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath() local45 sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true); in getOutputPath()46 sys::path::append(FullPath, sys::path::relative_path(ParentPath)); in getOutputPath()
331 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local332 if (!ParentPath.empty()) { in getThinLTOOutputFile()334 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()335 error(EC, "error creating the directory '" + ParentPath + "'"); in getThinLTOOutputFile()
416 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local417 if (!ParentPath.empty()) { in getThinLTOOutputFile()419 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()420 error(EC, "error creating the directory '" + ParentPath + "'"); in getThinLTOOutputFile()
1293 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local1294 if (!ParentPath.empty()) { in getThinLTOOutputFile()1296 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()1297 llvm::errs() << "warning: could not create directory '" << ParentPath in getThinLTOOutputFile()
1055 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local1056 if (!ParentPath.empty()) { in getThinLTOOutputFile()1058 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()1059 llvm::errs() << "warning: could not create directory '" << ParentPath in getThinLTOOutputFile()