[clang-tools-extra] Add clangd-index-server support for cross platform indexes (PR #207202)

Aleksandr Platonov via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 8 23:55:34 PDT 2026


================
@@ -0,0 +1,9 @@
+# Verify that clangd-index-server accepts Windows-style absolute paths as
+# project root, allowing the server to run on Linux with a Windows-built index.
+# "C:/project" is absolute in Windows style but not POSIX style.
+# REQUIRES: clangd-remote-index
+# RUN: rm -f %t.idx
----------------
ArcsinX wrote:

We never create this .idx file, so removing it looks redundant.
This file existence means that something goes wrong and it's better to fail.

I think it's better to remove this line.

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


More information about the cfe-commits mailing list