diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2021-07-27 14:25:29 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2021-07-30 15:11:46 +0200 |
commit | 57346526c83e1fcf03baf80362fc2a9e6624f5fd (patch) | |
tree | 611d9b6c40393a238c2332ab20173637dfdc31ac /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 84705ed913659d1d5e0ee6b5ae7b298914ec87d4 (diff) | |
download | llvm-57346526c83e1fcf03baf80362fc2a9e6624f5fd.zip llvm-57346526c83e1fcf03baf80362fc2a9e6624f5fd.tar.gz llvm-57346526c83e1fcf03baf80362fc2a9e6624f5fd.tar.bz2 |
[clangd] Make use of diagnostic tags for some clang diags
It is not great to list diag ids by hand, but I don't see any other
solution unless diagnostics are annotated with these explicitly, which is a
bigger change in clang and I am not sure if would be worth it.
Diagnostics handled by this patch is by no means exhaustive, there might be
other checks that don't mention "unused"/"deprecated" in their names. But it
feels like this should be enough to catch common diagnostics and can be extended
over time.
Differential Revision: https://reviews.llvm.org/D107040
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions