[clang-tools-extra] [clangd][test] Add `clang` to `CLANGD_TEST_DEPS`. (PR #230061)

Ingo Müller via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 8 04:04:19 PDT 2026


https://github.com/ingomueller-net created https://github.com/llvm/llvm-project/pull/230061

86a48da46ff5 (#193426) added `prebuilt_module_file_reuse.test`, which invokes the `clang` binary directly to precompile a module file, but did not add the binary to the dependencies of the corresponding CMake target. This PR fixes that.

>From f88d0b757948a0d90db94da3bb59a3ff18141b85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ingo=20M=C3=BCller?= <ingomueller at google.com>
Date: Thu, 8 Oct 2026 12:57:27 +0200
Subject: [PATCH] [clangd][test] Add `clang` to `CLANGD_TEST_DEPS`.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

86a48da46ff5 (#193426) added `prebuilt_module_file_reuse.test`, which
invokes the `clang` binary directly to precompile a module file, but did
not add the binary to the dependencies of the corresponding CMake
target. This PR fixes that.

Signed-off-by: Ingo Müller <ingomueller at google.com>
---
 clang-tools-extra/clangd/test/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang-tools-extra/clangd/test/CMakeLists.txt b/clang-tools-extra/clangd/test/CMakeLists.txt
index 608835cab2fc5..ee34d7bc553c7 100644
--- a/clang-tools-extra/clangd/test/CMakeLists.txt
+++ b/clang-tools-extra/clangd/test/CMakeLists.txt
@@ -1,4 +1,5 @@
 set(CLANGD_TEST_DEPS
+  clang
   clangd
   ClangdTests
   clangd-indexer



More information about the cfe-commits mailing list