[PATCH] D53266: [clangd] Simplify client capabilities parsing.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 14 23:18:07 PDT 2018
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ioeric, ilya-biryukov.
Instead of parsing into structs that mirror LSP, simply parse into a flat struct
that contains the info we need.
This is an exception to our strategy with Protocol.h, which seems justified:
- the structure here is very large and deeply nested
- we care about almost none of it
- we should never have to serialize client capabilities
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53266
Files:
clangd/ClangdLSPServer.cpp
clangd/Protocol.cpp
clangd/Protocol.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53266.169647.patch
Type: text/x-patch
Size: 13837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181015/61e4daca/attachment-0001.bin>
More information about the cfe-commits
mailing list