[PATCH] D31992: [clangd] Escape only necessary characters in JSON output

Marc-Andre Laperle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 16 12:41:19 PDT 2017


malaperle-ericsson updated this revision to Diff 95414.
malaperle-ericsson added a comment.

Handle other control characters and add test


https://reviews.llvm.org/D31992

Files:
  clangd/ASTManager.cpp
  clangd/Protocol.cpp
  clangd/Protocol.h
  clangd/ProtocolHandlers.cpp
  test/clangd/encoding.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31992.95414.patch
Type: text/x-patch
Size: 5963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170416/7efd67a1/attachment.bin>


More information about the cfe-commits mailing list