[PATCH] D51349: [clangd] Use buffered llvm::errs() in the clangd binary.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 28 06:11:32 PDT 2018

sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.

Comment at: clangd/tool/ClangdMain.cpp:263
+  // Use buffered stream to stderr. Unbuffered stream can cause significant
+  // (non-deterministic) latency for the logger.
+  llvm::errs().SetBuffered();
(we still flush each log message).

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list