[PATCH] D64305: [clangd] Add path mappings functionality
William Wagner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 7 20:18:54 PDT 2019
wwagner19 created this revision.
wwagner19 added reviewers: sammccall, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, mgorny.
Herald added a project: clang.
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.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D64305
Files:
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/PathMapping.cpp
clang-tools-extra/clangd/PathMapping.h
clang-tools-extra/clangd/test/Inputs/path-mappings/compile_commands.json
clang-tools-extra/clangd/test/Inputs/path-mappings/definition.jsonrpc
clang-tools-extra/clangd/test/Inputs/path-mappings/remote/foo.cpp
clang-tools-extra/clangd/test/Inputs/path-mappings/remote/foo.h
clang-tools-extra/clangd/test/path-mappings.test
clang-tools-extra/clangd/tool/ClangdMain.cpp
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/PathMappingTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64305.208306.patch
Type: text/x-patch
Size: 20060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190708/b091cde8/attachment-0001.bin>
More information about the cfe-commits
mailing list