[PATCH] D47643: Rewrite JSON dispatcher loop using C IO (FILE*) instead of std::istream.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 4 00:54:37 PDT 2018


sammccall updated this revision to Diff 149682.
sammccall added a comment.

clearerr() on (partial) successful read, and recover from EAGAIN during fread.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D47643

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdLSPServer.h
  clangd/JSONRPCDispatcher.cpp
  clangd/JSONRPCDispatcher.h
  clangd/tool/ClangdMain.cpp
  test/clangd/too_large.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47643.149682.patch
Type: text/x-patch
Size: 11120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180604/55472d3c/attachment-0001.bin>


More information about the cfe-commits mailing list