[clang-tools-extra] Add clangd-index-server support for cross platform indexes (PR #207202)
Bartosz Wiklak via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 10 06:59:10 PDT 2026
================
@@ -449,6 +449,44 @@ TEST(RemoteMarshallingTest, URIToRelativePathTranslation) {
llvm::consumeError(RelativePath.takeError());
}
+TEST(RemoteMarshallingTest, CrossPlatformPathsRoundTrip) {
+ llvm::BumpPtrAllocator Arena;
+ llvm::UniqueStringSaver Strings(Arena);
+
+ // Simulate a Windows-built index.
+ std::string RemoteIndexRoot = "C:\\remote\\project\\";
----------------
bwiklak wrote:
fixed
https://github.com/llvm/llvm-project/pull/207202
More information about the cfe-commits
mailing list