[analyzer][NFC] Don't allow dependency checkers to emit diagnostics
authorKirstóf Umann <dkszelethus@gmail.com>
Wed, 27 May 2020 10:27:32 +0000 (12:27 +0200)
committerKirstóf Umann <dkszelethus@gmail.com>
Fri, 12 Jun 2020 12:59:48 +0000 (14:59 +0200)
commit33fb9cbe211d1b43d4b84edf34e11001f04cddf0
treedd9a43ef3594ce4f18bf0d2ca380e83eb4be663d
parent82a21229da36bc53004dc54203e3bdeea718c942
[analyzer][NFC] Don't allow dependency checkers to emit diagnostics

The thrilling conclusion to the barrage of patches I uploaded lately! This is a
big milestone towards the goal set out in http://lists.llvm.org/pipermail/cfe-dev/2019-August/063070.html.
I hope to accompany this with a patch where the a coreModeling package is added,
from which package diagnostics aren't allowed either, is an implicit dependency
of all checkers, and the core package for the first time can be safely disabled.

Differential Revision: https://reviews.llvm.org/D78126
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
clang/lib/StaticAnalyzer/Core/BugReporter.cpp
clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp