Home
last modified time | relevance | path

Searched refs:parent_path (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DUtils.cpp23 auto ParentPath = sys::path::parent_path(P); in replace_extension()
59 StringRef Parent = sys::path::parent_path(P); in shouldSkipSymLink()
70 Parent = sys::path::parent_path(Parent); in shouldSkipSymLink()
87 Src = sys::path::parent_path(From); in make_relative()
/freebsd/contrib/llvm-project/llvm/lib/Testing/Support/
H A DSupportHelpers.cpp17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap()
27 SmallString<128> PathInParentDir = llvm::sys::path::parent_path(BaseDir); in findSrcDirMap()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp234 llvm::StringRef parent_path = llvm::sys::path::parent_path(raw_path); in ComputePathRelativeToLibrary() local
235 if (parent_path.empty()) { in ComputePathRelativeToLibrary()
240 raw_path = (parent_path + dir).str(); in ComputePathRelativeToLibrary()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp220 StringRef ParentDir = llvm::sys::path::parent_path(ClangPath); in getInstallationPathCandidates()
225 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates()
239 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates()
248 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates()
261 auto ParentPath = llvm::sys::path::parent_path(RealClangPath); in getInstallationPathCandidates()
266 auto ClangRoot = llvm::sys::path::parent_path(InstallDir); in getInstallationPathCandidates()
267 auto RealClangRoot = llvm::sys::path::parent_path(ParentPath); in getInstallationPathCandidates()
480 SmallString<0> ParentSharePath = llvm::sys::path::parent_path(InstallPath); in detectHIPRuntime()
H A DMinGW.cpp466 StringRef ClangRoot = llvm::sys::path::parent_path(D.Dir); in findClangRelativeSysroot()
493 std::string(llvm::sys::path::parent_path(getDriver().Dir)); in MinGW()
503 Base = std::string(llvm::sys::path::parent_path(TargetSubdir.get())); in MinGW()
511 Base = std::string(llvm::sys::path::parent_path( in MinGW()
512 llvm::sys::path::parent_path(GPPName.get()))); in MinGW()
823 std::string InstallBase = std::string(llvm::sys::path::parent_path(D.Dir)); in testTriple()
H A DAIX.cpp253 path::parent_path(ToolChain.getDriver().ClangExecutable) + in ConstructJob()
402 addSystemInclude(DriverArgs, CC1Args, path::parent_path(P.str())); in AddClangSystemIncludeArgs()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DLibrary.cpp32 Path = sys::path::parent_path(Path); in getName()
H A DFrontend.cpp186 const bool IsFramework = sys::path::parent_path(InstallName) in findLibrary()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp205 llvm::StringRef directory = llvm::sys::path::parent_path(resolved, m_style); in SetFile()
428 return FileSpec(llvm::sys::path::parent_path(current_path, m_style), in CopyByRemovingLastPathComponent()
462 SetFile(llvm::sys::path::parent_path(current_path, m_style)); in RemoveLastPathComponent()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp43 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath()
62 auto ParentDir = sys::path::parent_path(FullPath); in createOutputStream()
H A Dgcov.cpp29 CoverageFileStem = sys::path::parent_path(SourceFile); in reportCoverage()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp62 StringRef Directory = sys::path::parent_path(SrcPath); in updateWithRealPath()
201 sys::fs::create_directories(sys::path::parent_path(entry.RPath), in copyFiles()
H A DSignals.cpp159 StringRef Parent = llvm::sys::path::parent_path(Argv0); in printSymbolizedStackTrace()
H A DPath.cpp468 StringRef parent_path(StringRef path, Style style) { in parent_path() function
655 return !parent_path(p, style).empty(); in has_parent_path()
982 StringRef Parent = path::parent_path(P); in create_directories()
1145 SmallString<128> PathStr = path::parent_path(Path); in replace_filename()
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp561 TestPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment()
565 StringRef ParentPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment()
603 ToolChainPath = sys::path::parent_path(ToolChainPath); in findVCToolChainViaEnvironment()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp54 llvm::StringRef parent_dir = llvm::sys::path::parent_path(raw_path); in DefaultComputeClangResourceDirectory()
H A DCppModuleConfiguration.cpp75 parent_path(posix_dir, Style::posix).ends_with("c++")) { in analyzeFile()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp449 StringRef ParentPath = llvm::sys::path::parent_path(Path); in findAPINotes()
451 ParentPath = llvm::sys::path::parent_path(ParentPath); in findAPINotes()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp164 if (std::error_code EC = fs::create_directories(path::parent_path(CacheDst), in copyToRoot()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp588 DirName = llvm::sys::path::parent_path(DirName); in getTopFrameworkDir()
732 FrameworkPath = llvm::sys::path::parent_path(FrameworkPath); in DoFrameworkLookup()
1623 DirName = llvm::sys::path::parent_path(DirName); in hasModuleMap()
1797 llvm::sys::path::parent_path(OriginalModuleMapFile)); in loadModuleMapFile()
1809 DirName = llvm::sys::path::parent_path(DirName); in loadModuleMapFile()
2122 if (!BestPrefixLength && CheckDir(path::parent_path(MainFile))) { in suggestPathToFileForDiagnostics()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DMultilibBuilder.cpp29 seg = llvm::sys::path::parent_path(seg); in normalizePathSegment()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPath.h343 StringRef parent_path(StringRef path, Style style = Style::native);
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp77 StringRef DirName = llvm::sys::path::parent_path(Filename); in getDirectoryFromFile()
104 StringRef DirName = llvm::sys::path::parent_path(Path); in addAncestorsAsVirtualDirs()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp613 if (StringRef Dir{parent_path(AbsPath)}; PrevDir != Dir) { in isIgnored()
621 Dir = parent_path(Dir); in isIgnored()

123