[all-commits] [llvm/llvm-project] c69ae8: [clangd] Add path mappings functionality
Sam McCall via All-commits
all-commits at lists.llvm.org
Tue Jan 7 03:41:28 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c69ae835d0e0dc493eb09e75f0687a1390525440
https://github.com/llvm/llvm-project/commit/c69ae835d0e0dc493eb09e75f0687a1390525440
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-01-07 (Tue, 07 Jan 2020)
Changed paths:
M clang-tools-extra/clangd/CMakeLists.txt
A clang-tools-extra/clangd/PathMapping.cpp
A clang-tools-extra/clangd/PathMapping.h
A clang-tools-extra/clangd/test/Inputs/path-mappings/server/foo.h
A clang-tools-extra/clangd/test/path-mappings.test
M clang-tools-extra/clangd/tool/ClangdMain.cpp
M clang-tools-extra/clangd/unittests/CMakeLists.txt
A clang-tools-extra/clangd/unittests/PathMappingTests.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list