Home
last modified time | relevance | path

Searched refs:TargetPath (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeaderSourceSwitch.cpp85 if (auto TargetPath = URI::resolve(TargetURI, OriginalFile)) { in getCorrespondingHeaderOrSource() local
86 if (!pathEqual(*TargetPath, OriginalFile)) // exclude the original file. in getCorrespondingHeaderOrSource()
87 ++Candidates[*TargetPath]; in getCorrespondingHeaderOrSource()
89 elog("Failed to resolve URI {0}: {1}", TargetURI, TargetPath.takeError()); in getCorrespondingHeaderOrSource()
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DPreprocessorTracker.h60 llvm::StringRef TargetPath) = 0;
H A DPreprocessorTracker.cpp817 llvm::StringRef TargetPath) override { in handleIncludeDirective() argument
820 if (BlockCheckHeaderListOnly && !isHeaderListHeader(TargetPath)) in handleIncludeDirective()
823 StringHandle IncludeHeaderHandle = addString(TargetPath); in handleIncludeDirective()
/llvm-project-15.0.7/bolt/runtime/
H A Dinstr.cpp616 static char TargetPath[NameMax] = {}; in getBinaryPath() local
622 if (TargetPath[0] != '\0') in getBinaryPath()
623 return TargetPath; in getBinaryPath()
648 uint32_t Ret = __readlink(FindBuf, TargetPath, sizeof(TargetPath)); in getBinaryPath()
650 TargetPath[Ret] = '\0'; in getBinaryPath()
651 return TargetPath; in getBinaryPath()
/llvm-project-15.0.7/llvm/lib/Support/
H A DVirtualFileSystem.cpp671 std::string TargetPath; member in llvm::vfs::detail::__anon2f7918780511::InMemorySymbolicLink
675 InMemorySymbolicLink(StringRef Path, StringRef TargetPath, Status Stat) in InMemorySymbolicLink() argument
676 : InMemoryNode(Path, IME_SymbolicLink), TargetPath(std::move(TargetPath)), in InMemorySymbolicLink()
680 return std::string(Indent, ' ') + "SymbolicLink to -> " + TargetPath; in toString()
687 StringRef getTargetPath() const { return TargetPath; } in getTargetPath()
963 SmallString<128> TargetPath = Symlink->getTargetPath(); in lookupNode() local
964 if (std::error_code EC = makeAbsolute(TargetPath)) in lookupNode()
972 lookupNode(TargetPath, /*FollowFinalSymlink=*/true, SymlinkDepth + 1); in lookupNode()