Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DUtils.h44 StringRef Base = sys::path::parent_path(SysRoot); in guessToolchainBaseDir()
47 Base = sys::path::parent_path(Base); in guessToolchainBaseDir()
/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/Tooling/
H A DCompilationDatabase.cpp97 Directory = llvm::sys::path::parent_path(Directory); in findCompilationDatabaseFromDirectory()
107 StringRef Directory = llvm::sys::path::parent_path(AbsolutePath); in autoDetectFromSource()
217 ClangToolPath = llvm::sys::path::parent_path(ClangExecutable); in GetClangToolCommand()
353 return loadFromBuffer(llvm::sys::path::parent_path(Path), in loadFromFile()
/freebsd/contrib/llvm-project/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp42 SysRoot(llvm::sys::path::parent_path(SysRoot).empty() ? StringRef() in SerializablePathCollection()
53 const auto Dir = tryStoreDirPath(sys::path::parent_path(FE.getName())); in tryStoreFilePath()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp219 StringRef ParentDir = llvm::sys::path::parent_path(ClangPath); in getInstallationPathCandidates()
224 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates()
238 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates()
247 ParentDir = llvm::sys::path::parent_path(ParentDir); in getInstallationPathCandidates()
260 auto ParentPath = llvm::sys::path::parent_path(RealClangPath); in getInstallationPathCandidates()
265 auto ClangRoot = llvm::sys::path::parent_path(InstallDir); in getInstallationPathCandidates()
266 auto RealClangRoot = llvm::sys::path::parent_path(ParentPath); in getInstallationPathCandidates()
479 SmallString<0> ParentSharePath = llvm::sys::path::parent_path(InstallPath); in detectHIPRuntime()
H A DMinGW.cpp463 StringRef ClangRoot = llvm::sys::path::parent_path(D.getInstalledDir()); in findClangRelativeSysroot()
490 std::string(llvm::sys::path::parent_path(getDriver().getInstalledDir())); in MinGW()
500 Base = std::string(llvm::sys::path::parent_path(TargetSubdir.get())); in MinGW()
508 Base = std::string(llvm::sys::path::parent_path( in MinGW()
509 llvm::sys::path::parent_path(GPPName.get()))); in MinGW()
797 std::string(llvm::sys::path::parent_path(D.getInstalledDir())); in testTriple()
H A DAIX.cpp251 path::parent_path(ToolChain.getDriver().ClangExecutable) + in ConstructJob()
380 addSystemInclude(DriverArgs, CC1Args, path::parent_path(P.str())); in AddClangSystemIncludeArgs()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DUtils.cpp21 auto ParentPath = sys::path::parent_path(P); in replace_extension()
/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/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 DPath.cpp469 StringRef parent_path(StringRef path, Style style) { in parent_path() function
656 return !parent_path(p, style).empty(); in has_parent_path()
983 StringRef Parent = path::parent_path(P); in create_directories()
1146 SmallString<128> PathStr = path::parent_path(Path); in replace_filename()
H A DSignals.cpp159 StringRef Parent = llvm::sys::path::parent_path(Argv0); in printSymbolizedStackTrace()
/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()
/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/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp557 TestPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment()
561 StringRef ParentPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment()
599 ToolChainPath = sys::path::parent_path(ToolChainPath); in findVCToolChainViaEnvironment()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp443 StringRef ParentPath = llvm::sys::path::parent_path(Path); in findAPINotes()
445 ParentPath = llvm::sys::path::parent_path(ParentPath); in findAPINotes()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DJob.cpp277 SmallString<128> RelModCacheDir = llvm::sys::path::parent_path( in Print()
278 llvm::sys::path::parent_path(CrashInfo->VFSPath)); in Print()
H A DMultilibBuilder.cpp29 seg = llvm::sys::path::parent_path(seg); in normalizePathSegment()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.h41 StringRef ParentPath = sys::path::parent_path(Path); in resolve()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp163 if (std::error_code EC = fs::create_directories(path::parent_path(CacheDst), in copyToRoot()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp564 DirName = llvm::sys::path::parent_path(DirName); in getTopFrameworkDir()
708 FrameworkPath = llvm::sys::path::parent_path(FrameworkPath); in DoFrameworkLookup()
1518 DirName = llvm::sys::path::parent_path(DirName); in hasModuleMap()
1692 llvm::sys::path::parent_path(OriginalModuleMapFile)); in loadModuleMapFile()
1704 DirName = llvm::sys::path::parent_path(DirName); in loadModuleMapFile()
2015 if (!BestPrefixLength && CheckDir(path::parent_path(MainFile))) { in suggestPathToFileForDiagnostics()
/freebsd/contrib/llvm-project/llvm/utils/split-file/
H A Dsplit-file.cpp122 sys::fs::create_directories(sys::path::parent_path(partPath)); in handle()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPath.h343 StringRef parent_path(StringRef path, Style style = Style::native);

123