[PATCH] D79862: [clangd-remote] Replace YAML serialization with proper Protobuf messages

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 13 07:32:42 PDT 2020


kbobyrev created this revision.
kbobyrev added a reviewer: sammccall.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.

YAML serialization was used in the Proof of Concept for simplicity.
This patch replaces implements Protobuf (de) serialization of almost all
types that need to be transferred over the protocol.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79862

Files:
  clang-tools-extra/clangd/index/Serialization.h
  clang-tools-extra/clangd/index/YAMLSerialization.cpp
  clang-tools-extra/clangd/index/remote/Client.cpp
  clang-tools-extra/clangd/index/remote/Index.proto
  clang-tools-extra/clangd/index/remote/marshalling/Marshalling.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79862.263710.patch
Type: text/x-patch
Size: 13126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200513/4457419d/attachment-0001.bin>


More information about the cfe-commits mailing list