[clangd][remote] Make sure relative paths are absolute with respect to posix style
authorKadir Cetinkaya <kadircet@google.com>
Tue, 29 Sep 2020 18:15:03 +0000 (20:15 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Wed, 30 Sep 2020 09:08:49 +0000 (11:08 +0200)
commit64e8fd540ecc38ee3daf942499091589785e2733
tree3c22b19d7559b3f3467a047b3775bdc2b0e4ab23
parentd99f46c6eb8debaa1a14c122956177dc2a40ef9b
[clangd][remote] Make sure relative paths are absolute with respect to posix style

Relative paths received from the server are always in posix style. So
we need to ensure they are relative using that style, and not the native one.

Differential Revision: https://reviews.llvm.org/D88507
clang-tools-extra/clangd/index/remote/marshalling/Marshalling.cpp