Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompileCommands.cpp113 SmallString<128> ClangPath; in detectClangPath() local
114 ClangPath = llvm::sys::path::parent_path(ClangdExecutable); in detectClangPath()
115 llvm::sys::path::append(ClangPath, "clang"); in detectClangPath()
116 return std::string(ClangPath.str()); in detectClangPath()
144 llvm::Optional<std::string> ClangPath) { in resolveDriver() argument
161 if (ClangPath && in resolveDriver()
164 return SiblingOf(*ClangPath); in resolveDriver()
170 else if (ClangPath) // If we don't find it, use clang dir again. in resolveDriver()
171 return SiblingOf(*ClangPath); in resolveDriver()
190 Result.ClangPath = detectClangPath(); in detect()
[all …]
H A DCompileCommands.h30 llvm::Optional<std::string> ClangPath; member
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCompileCommandsTests.cpp45 Mangler.ClangPath = testPath("fake/clang"); in TEST()
58 Mangler.ClangPath = testPath("clang"); in TEST()
86 TEST(CommandMangler, ClangPath) { in TEST() argument
88 Mangler.ClangPath = testPath("fake/clang"); in TEST()
144 Mangler.ClangPath = testPath("fake/clang"); in TEST()
160 Mangler.ClangPath = testPath("fake/clang"); in TEST()
/llvm-project-15.0.7/llvm/tools/bugpoint/
H A DExecutionDriver.cpp148 if (ErrorOr<std::string> ClangPath = in initializeExecutionEnvironment() local
150 CCBinary = *ClangPath; in initializeExecutionEnvironment()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp214 auto DeduceROCmPath = [](StringRef ClangPath) { in getInstallationPathCandidates() argument
216 StringRef ParentDir = llvm::sys::path::parent_path(ClangPath); in getInstallationPathCandidates()