OSDN Git Service

analyzer][CallAndMessage][NFC] Change old callbacks to rely on CallEvent
authorKirstóf Umann <dkszelethus@gmail.com>
Tue, 14 Apr 2020 16:02:31 +0000 (18:02 +0200)
committerKirstóf Umann <dkszelethus@gmail.com>
Tue, 19 May 2020 22:37:59 +0000 (00:37 +0200)
commit3d0d2fefc0a18f13e45a17be04a3da8d2b1299f8
tree2bfdf92c6ff3038a8a4620fada1750711223464c
parente89a08aefdaca716ee0168b18d79818076178910
analyzer][CallAndMessage][NFC] Change old callbacks to rely on CallEvent

The following series of patches has something similar in mind with D77474, with
the same goal to finally end incorrect checker names for good. Despite
CallAndMessage not suffering from this particular issue, it is a dependency for
many other checkers, which is problematic, because we don't really want
dependencies to also emit diagnostics (reasoning for this is also more detailed
in D77474).

CallAndMessage also has another problem, namely that it is responsible for a lot
of reports. You'll soon learn that this isn't really easy to solve for
compatibility reasons, but that is the topic of followup patches.

Differential Revision: https://reviews.llvm.org/D77845
clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp