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

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 9 19:03:14 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:

@fleeting-xx 

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


More information about the cfe-commits mailing list