[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
Fri Jul 10 01:18:22 PDT 2026
================
@@ -449,6 +449,39 @@ TEST(RemoteMarshallingTest, URIToRelativePathTranslation) {
llvm::consumeError(RelativePath.takeError());
}
+TEST(RemoteMarshallingTest, CrossPlatformPathsRoundTrip) {
+ llvm::BumpPtrAllocator Arena;
+ llvm::UniqueStringSaver Strings(Arena);
+
+ // Simulate a Windows-built index
+ Marshaller ProtobufMarshaller("C:/remote/project/",
----------------
ArcsinX wrote:
For my experience, passing `Style::windows` to `llvm::sys::path::*` functions only adds some extra adjustments for windows paths and doesn't affect posix paths processing.
https://github.com/llvm/llvm-project/pull/207202
More information about the cfe-commits
mailing list