HomePhabricator

[clangd] Add path mappings functionality

Authored by sammccall on Jan 7 2020, 2:28 AM.

Description

[clangd] Add path mappings functionality

Summary: Add path mappings to clangd which translate file URIs on inbound and outbound LSP messages. This mapping allows clangd to run in a remote environment (e.g. docker), where the source files and dependencies may be at different locations than the host. See http://lists.llvm.org/pipermail/clangd-dev/2019-January/000231.htm for more.

Patch by William Wagner!

Reviewers: sammccall, ilya-biryukov

Reviewed By: sammccall

Subscribers: usaxena95, ormris, mgorny, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

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

Details

Committed
sammccallJan 7 2020, 3:40 AM
Reviewer
sammccall
Differential Revision
D64305: [clangd] Add path mappings functionality
Parents
rG27e6b171e0be: [RISCV][Docs] Add RISC-V asm template argument modifiers
Branches
Unknown
Tags
Unknown