| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | Utils.cpp | 23 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 D | SupportHelpers.cpp | 16 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap() 26 SmallString<128> PathInParentDir = llvm::sys::path::parent_path(BaseDir); in findSrcDirMap()
|
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | HostInfoBase.cpp | 236 llvm::StringRef parent_path = llvm::sys::path::parent_path(raw_path); in ComputePathRelativeToLibrary() local 237 if (parent_path.empty()) { in ComputePathRelativeToLibrary() 242 raw_path = (parent_path + dir).str(); in ComputePathRelativeToLibrary()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | CompilationDatabase.cpp | 91 Directory = llvm::sys::path::parent_path(Directory); in findCompilationDatabaseFromDirectory() 101 StringRef Directory = llvm::sys::path::parent_path(AbsolutePath); in autoDetectFromSource() 211 ClangToolPath = llvm::sys::path::parent_path(ClangExecutable); in GetClangToolCommand() 347 return loadFromBuffer(llvm::sys::path::parent_path(Path), in loadFromFile()
|
| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | Library.cpp | 32 Path = sys::path::parent_path(Path); in getName()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | AMDGPU.cpp | 172 StringRef ParentDir = llvm::sys::path::parent_path(ClangPath); in getInstallationPathCandidates() 177 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates() 184 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates() 197 auto ParentPath = llvm::sys::path::parent_path(RealClangPath); in getInstallationPathCandidates() 202 auto ClangRoot = llvm::sys::path::parent_path(InstallDir); in getInstallationPathCandidates() 203 auto RealClangRoot = llvm::sys::path::parent_path(ParentPath); in getInstallationPathCandidates() 412 SmallString<0> ParentSharePath = llvm::sys::path::parent_path(InstallPath); in detectHIPRuntime()
|
| H A D | MinGW.cpp | 480 StringRef ClangRoot = llvm::sys::path::parent_path(D.Dir); in findClangRelativeSysroot() 507 std::string(llvm::sys::path::parent_path(getDriver().Dir)); in MinGW() 517 Base = std::string(llvm::sys::path::parent_path(TargetSubdir.get())); in MinGW() 525 Base = std::string(llvm::sys::path::parent_path( in MinGW() 526 llvm::sys::path::parent_path(GPPName.get()))); in MinGW() 837 std::string InstallBase = std::string(llvm::sys::path::parent_path(D.Dir)); in testTriple()
|
| H A D | AIX.cpp | 268 path::parent_path(ToolChain.getDriver().ClangExecutable) + in ConstructJob() 418 addSystemInclude(DriverArgs, CC1Args, path::parent_path(P.str())); in AddClangSystemIncludeArgs()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ModuleCache.cpp | 27 StringRef Dir = llvm::sys::path::parent_path(ModuleFilename); in prepareForGetLock()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 205 llvm::StringRef directory = llvm::sys::path::parent_path(resolved, m_style); in SetFile() 435 return FileSpec(llvm::sys::path::parent_path(current_path, m_style), in CopyByRemovingLastPathComponent() 469 SetFile(llvm::sys::path::parent_path(current_path, m_style)); in RemoveLastPathComponent()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | SourceCoverageView.cpp | 43 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath() 62 auto ParentDir = sys::path::parent_path(FullPath); in createOutputStream()
|
| H A D | gcov.cpp | 29 CoverageFileStem = sys::path::parent_path(SourceFile); in reportCoverage()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 62 StringRef Directory = sys::path::parent_path(SrcPath); in updateWithRealPath() 201 sys::fs::create_directories(sys::path::parent_path(entry.RPath), in copyFiles()
|
| H A D | Path.cpp | 467 StringRef parent_path(StringRef path, Style style) { in parent_path() function 654 return !parent_path(p, style).empty(); in has_parent_path() 981 StringRef Parent = path::parent_path(P); in create_directories() 1144 SmallString<128> PathStr = path::parent_path(Path); in replace_filename()
|
| /freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/ |
| H A D | MSVCPaths.cpp | 574 TestPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment() 578 StringRef ParentPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment() 616 ToolChainPath = sys::path::parent_path(ToolChainPath); in findVCToolChainViaEnvironment()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangHost.cpp | 54 llvm::StringRef parent_dir = llvm::sys::path::parent_path(raw_path); in DefaultComputeClangResourceDirectory()
|
| H A D | CppModuleConfiguration.cpp | 75 parent_path(posix_dir, Style::posix).ends_with("c++")) { in analyzeFile()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Job.cpp | 274 SmallString<128> RelModCacheDir = llvm::sys::path::parent_path( in Print() 275 llvm::sys::path::parent_path(CrashInfo->VFSPath)); in Print()
|
| H A D | MultilibBuilder.cpp | 28 seg = llvm::sys::path::parent_path(seg); in normalizePathSegment()
|
| /freebsd/contrib/llvm-project/clang/lib/APINotes/ |
| H A D | APINotesManager.cpp | 448 StringRef ParentPath = llvm::sys::path::parent_path(Path); in findAPINotes() 450 ParentPath = llvm::sys::path::parent_path(ParentPath); in findAPINotes()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.h | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinkerDeclContext.h | 41 StringRef ParentPath = sys::path::parent_path(Path); in resolve()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ModuleDependencyCollector.cpp | 163 if (std::error_code EC = fs::create_directories(path::parent_path(CacheDst), in copyToRoot()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 593 DirName = llvm::sys::path::parent_path(DirName); in getTopFrameworkDir() 737 FrameworkPath = llvm::sys::path::parent_path(FrameworkPath); in DoFrameworkLookup() 1567 DirName = llvm::sys::path::parent_path(DirName); in hasModuleMap() 1743 llvm::sys::path::parent_path(OriginalModuleMapFile)); in parseAndLoadModuleMapFile() 1755 DirName = llvm::sys::path::parent_path(DirName); in parseAndLoadModuleMapFile() 2153 if (!BestPrefixLength && CheckDir(path::parent_path(MainFile))) { in suggestPathToFileForDiagnostics()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | ScriptLexer.cpp | 46 for (; !path.empty(); path = sys::path::parent_path(path)) { in Buffer()
|