HomePhabricator

[clangd] Deduplicate clang-tidy diagnostic messages.

Authored by hokein on Jul 5 2019, 5:57 AM.

Description

[clangd] Deduplicate clang-tidy diagnostic messages.

Summary:
Clang-tidy checks may emit duplicated messages (clang-tidy tool
deduplicate them in its custom diagnostic consumer), and we may show
multiple duplicated diagnostics in the UI, which is really bad.

This patch makes clangd do the deduplication, and revert the change
rL363889.

Reviewers: sammccall

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

Tags: #clang

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

llvm-svn: 365204

Details

Committed
hokeinJul 5 2019, 5:57 AM
Differential Revision
D64127: [clangd] Deduplicate clang-tidy diagnostic messages.
Parents
rG957c40db6aeb: Scalable Vector IR Type with further LTO fixes
Branches
Unknown
Tags
Unknown