[PATCH] D42919: [clangd] Support simpler JSON-RPC stream parsing for lit tests.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 5 11:16:31 PST 2018


sammccall created this revision.
sammccall added a reviewer: ioeric.
Herald added subscribers: cfe-commits, jkorous-apple, ilya-biryukov, klimek.

Instead of content-length, we delimit messages with ---.
This also removes the need for (most) dos-formatted test files.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D42919

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h
  clangd/JSONRPCDispatcher.cpp
  clangd/JSONRPCDispatcher.h
  clangd/tool/ClangdMain.cpp
  test/clangd/completion.test
  test/clangd/crash-non-added-files.test
  test/clangd/diagnostics.test
  test/clangd/execute-command.test
  test/clangd/extra-flags.test
  test/clangd/fixits.test
  test/clangd/formatting.test
  test/clangd/initialize-params-invalid.test
  test/clangd/initialize-params.test
  test/clangd/rename.test
  test/clangd/shutdown-with-exit.test
  test/clangd/shutdown-without-exit.test
  test/clangd/signature-help.test
  test/clangd/test-uri-posix.test
  test/clangd/test-uri-windows.test
  test/clangd/trace.test
  test/clangd/unsupported-method.test
  test/clangd/xrefs.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42919.132867.patch
Type: text/x-patch
Size: 107121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180205/1141e840/attachment-0001.bin>


More information about the cfe-commits mailing list