[clangd] Strip the ' [some-check-name]' suffix from clang-tidy diagnostics. The check name is reported in Diagnostic.code.

Reviewers: kadircet

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

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@358612 91177308-0d34-0410-b5e6-96231b3b80d8
3 files changed