[clangd] Limit the size of synthesized fix message
authorIlya Biryukov <ibiryukov@google.com>
Fri, 24 May 2019 10:26:23 +0000 (10:26 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Fri, 24 May 2019 10:26:23 +0000 (10:26 +0000)
commit0f748e6e9b974a427d0b699d4d2534aa865ba9b6
tree4b955b353b8ad2524149cbbdbc4a2066deba83a0
parentadb1d74bf9e02952567c1a6e2149fb504cff2275
[clangd] Limit the size of synthesized fix message

Summary: A temporary workaround until we figure out a better way to present fixes.

Reviewers: kadircet

Reviewed By: kadircet

Subscribers: MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

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

llvm-svn: 361625
clang-tools-extra/clangd/Diagnostics.cpp
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp