Searched refs:ParentPath (Results 1 – 8 of 8) sorted by relevance
39 StringRef ParentPath = sys::path::parent_path(Path); in resolve() local43 if (!ResolvedPaths.count(ParentPath)) { in resolve()45 sys::fs::real_path(ParentPath, RealPath); in resolve()47 {ParentPath, std::string(RealPath.c_str(), RealPath.size())}); in resolve()51 SmallString<256> ResolvedPath(ResolvedPaths[ParentPath]); in resolve()
59 const char *ParentPath = getenv("RAW_PWRITE_TEST_FILE"); in TEST() local60 if (ParentPath) { in TEST()61 Path = ParentPath; in TEST()
43 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath() local44 sys::path::remove_dots(ParentPath, /*remove_dot_dot=*/true); in getOutputPath()45 sys::path::append(FullPath, sys::path::relative_path(ParentPath)); in getOutputPath()
559 StringRef ParentPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment() local560 StringRef ParentFilename = sys::path::filename(ParentPath); in findVCToolChainViaEnvironment()562 Path = std::string(ParentPath); in findVCToolChainViaEnvironment()570 Path = std::string(ParentPath); in findVCToolChainViaEnvironment()
257 auto ParentPath = llvm::sys::path::parent_path(RealClangPath); in getInstallationPathCandidates() local258 if (ParentPath != InstallDir) in getInstallationPathCandidates()259 ROCmSearchDirs.emplace_back(DeduceROCmPath(ParentPath)); in getInstallationPathCandidates()263 auto RealClangRoot = llvm::sys::path::parent_path(ParentPath); in getInstallationPathCandidates()
526 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local527 if (!ParentPath.empty()) { in getThinLTOOutputFile()529 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()530 error(EC, "error creating the directory '" + ParentPath + "'"); in getThinLTOOutputFile()
1370 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local1371 if (!ParentPath.empty()) { in getThinLTOOutputFile()1373 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()1374 llvm::errs() << "warning: could not create directory '" << ParentPath in getThinLTOOutputFile()
419 llvm::StringRef Title, StringRef ParentPath) { in genReferencesBlock() argument430 LiNode->Children.emplace_back(genReference(R, ParentPath)); in genReferencesBlock()