[PATCH] D93653: [clangd] Avoid reallocating buffers for each message read:

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 28 12:07:34 PST 2020


njames93 accepted this revision.
njames93 added a comment.
This revision is now accepted and ready to land.

I'm easy with this.



================
Comment at: clang-tools-extra/clangd/JSONTransport.cpp:202
   for (;;) {
     Out.resize(Size + BufSize);
     // Handle EINTR which is sent when a debugger attaches on some platforms.
----------------
nit:


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93653/new/

https://reviews.llvm.org/D93653



More information about the cfe-commits mailing list