[analyzer] Force dependency checkers to be hidden
authorKirstóf Umann <dkszelethus@gmail.com>
Fri, 12 Jun 2020 18:54:24 +0000 (20:54 +0200)
committerKirstóf Umann <dkszelethus@gmail.com>
Mon, 6 Jul 2020 11:05:45 +0000 (13:05 +0200)
commit690ff37a286991f142584f25842e50c6cb23aba6
tree624bc47f5adc2e3b4a1e745e94a0ada92431c11e
parentd7ea6ce809a4413afb1edafa17ba291b39129f52
[analyzer] Force dependency checkers to be hidden

Since strong dependencies aren't user-facing (its hardly ever legal to disable
them), lets enforce that they are hidden. Modeling checkers that aren't
dependencies are of course not impacted, but there is only so much you can do
against developers shooting themselves in the foot :^)

I also made some changes to the test files, reversing the "test" package for,
well, testing.

Differential Revision: https://reviews.llvm.org/D81761
clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp