[clangd] Extend --check to time clang-tidy checks, so we can block slow ones
authorSam McCall <sam.mccall@gmail.com>
Mon, 17 Oct 2022 14:38:11 +0000 (16:38 +0200)
committerSam McCall <sam.mccall@gmail.com>
Mon, 21 Nov 2022 15:24:47 +0000 (16:24 +0100)
commitfd733a65de5c37c8d5ec4fbe45c8f1a347816858
tree9a6f2e52c18d6ba7a6a4d0278b7a929a66e92984
parenta56d0e84dacea51e80981a731182a89ea0289947
[clangd] Extend --check to time clang-tidy checks, so we can block slow ones

misc-const-correctness is so catastrophically slow that we need to block it
from running. But we need a way to detect this without breaking users first.

This is part of a plan to run only fast checks by default.
More details in  https://github.com/clangd/clangd/issues/1337

Differential Revision: https://reviews.llvm.org/D136082
clang-tools-extra/clangd/tool/Check.cpp