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

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 11 07:16:31 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
----------------
fleeting-xx wrote:

Sorry I missed this. I'll see about getting these moved to unit tests.

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


More information about the cfe-commits mailing list