[PATCH] D67421: [analyzer] NFC: Move IssueHash to libAnalysis.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 11:24:55 PDT 2019


NoQ added a comment.

In D67421#1666058 <https://reviews.llvm.org/D67421#1666058>, @gribozavr wrote:

> The "bugtype" in IssueHash is specific to Static Analyzer (or at least not documented sufficiently abstractly).


Yeah, i'll need to document this.

That's basically the warning message; it doesn't have to have anything to do with the Analyzer's `BugType` structure. But if the warning message contains fragile stuff (eg., mentions a name of a variable or (why??) a line number), the user may want to wipe it out of the hash, and in this case Analyzer `BugType`s turn out to be fairly handy.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67421/new/

https://reviews.llvm.org/D67421





More information about the cfe-commits mailing list