[clangd] Use buffered llvm::errs() in the clangd binary.
authorEric Liu <ioeric@google.com>
Tue, 28 Aug 2018 13:15:50 +0000 (13:15 +0000)
committerEric Liu <ioeric@google.com>
Tue, 28 Aug 2018 13:15:50 +0000 (13:15 +0000)
commit4e4e5a4e8ab7d93c9df999ffa17e04bfcd0b103f
treea650017c6188acddb40a711f63523c42d3f8d961
parent29c5d5aa365c51046c1d352853ad1804beee785b
[clangd] Use buffered llvm::errs() in the clangd binary.

Summary: Unbuffered stream can cause significant (non-deterministic) latency for the logger.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Differential Revision: https://reviews.llvm.org/D51349

llvm-svn: 340822
clang-tools-extra/clangd/tool/ClangdMain.cpp