HomePhabricator

[analyzer] Check the checker name, rather than the ProgramPointTag when…

Authored by Szelethus on May 18 2021, 4:06 AM.

Description

[analyzer] Check the checker name, rather than the ProgramPointTag when silencing a checker

The program point created by the checker, even if it is an error node,
might not be the same as the name under which the report is emitted.
Make sure we're checking the name of the checker, because thats what
we're silencing after all.

Differential Revision: https://reviews.llvm.org/D102683