HomePhabricator

[clangd][remote] Add Windows paths support

Authored by ArcsinX on Oct 20 2020, 3:03 AM.

Description

[clangd][remote] Add Windows paths support

Without this patch 6 marshalling tests fail on Windows.
This patch contains the following changes:

  • Allow paths with Windows slashes (convert to the POSIX style instead of assertion)
  • Add support for URI with Windows path.
  • Change the value of the second parameter of several llvm::sys::path::convert_to_slash() calls: we should use windows instead of posix to ensure UNIX slashes in the path.
  • Port RemoteMarshallingTest::IncludeHeaderURI test to Windows.

Reviewed By: kbobyrev

Differential Revision: https://reviews.llvm.org/D89529

Details

Committed
ArcsinXOct 20 2020, 3:04 AM
Reviewer
kbobyrev
Differential Revision
D89529: [clangd][remote] Add Windows paths support
Parents
rGfbfb1c790982: [IR] Make nosync, nofree and willreturn default for intrinsics.
Branches
Unknown
Tags
Unknown