Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DCompileCommands.cpp102 SmallString<128> ClangPath; in detectClangPath() local
103 ClangPath = llvm::sys::path::parent_path(ClangdExecutable); in detectClangPath()
104 llvm::sys::path::append(ClangPath, "clang"); in detectClangPath()
105 return std::string(ClangPath.str()); in detectClangPath()
133 llvm::Optional<std::string> ClangPath) { in resolveDriver() argument
150 if (ClangPath && in resolveDriver()
153 return SiblingOf(*ClangPath); in resolveDriver()
159 else if (ClangPath) // If we don't find it, use clang dir again. in resolveDriver()
160 return SiblingOf(*ClangPath); in resolveDriver()
179 Result.ClangPath = detectClangPath(); in detect()
[all …]
DCompileCommands.h30 llvm::Optional<std::string> ClangPath; member
/external/llvm-project/clang-tools-extra/clangd/unittests/
DCompileCommandsTests.cpp41 Mangler.ClangPath = testPath("fake/clang"); in TEST()
103 TEST(CommandMangler, ClangPath) { in TEST() argument
105 Mangler.ClangPath = testPath("fake/clang"); in TEST()
161 Mangler.ClangPath = testPath("fake/clang"); in TEST()
177 Mangler.ClangPath = testPath("fake/clang"); in TEST()
/external/llvm-project/llvm/tools/bugpoint/
DExecutionDriver.cpp148 if (ErrorOr<std::string> ClangPath = in initializeExecutionEnvironment() local
150 CCBinary = *ClangPath; in initializeExecutionEnvironment()