[clang-tools-extra] [clangd] [Modules] Fix to correctly handle module dependencies (PR #142828)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 10 01:15:08 PDT 2025


================
@@ -0,0 +1,96 @@
+# A smoke test to check that a simple dependency chain for modules can work.
+#
+# FIXME: This fails on the Windows ARM64 build server. Not entirely sure why as it has been tested on
+#        an ARM64 Windows VM and appears to work there.
+# UNSUPPORTED: host=aarch64-pc-windows-msvc
+#
+# RUN: rm -fr %t
+# RUN: mkdir -p %t
+# RUN: split-file %s %t
+#
+# RUN: sed -e "s|DIR|%/t|g" %t/compile_commands.json.tmpl > %t/compile_commands.json.tmp
+# RUN: sed -e "s|CLANG_CC|%clang|g" %t/compile_commands.json.tmp > %t/compile_commands.json
+# RUN: sed -e "s|DIR|%/t|g" %t/definition.jsonrpc.tmpl > %t/definition.jsonrpc.tmp
----------------
ChuanqiXu9 wrote:

@bogner in case @fleeting-xx  doesn't respond in time, would you like to fix these failures in windows by updating the `UNSUPPORTED ` clause properly? I hope we can get this in 20.x. Thanks  in ahead.

https://github.com/llvm/llvm-project/pull/142828


More information about the cfe-commits mailing list