[PATCH] D84520: [Analyzer] Improve invalid dereference bug reporting in DereferenceChecker.

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 03:04:05 PDT 2020


whisperity added a comment.

In D84520#2206077 <https://reviews.llvm.org/D84520#2206077>, @balazske wrote:

> Do the null pointer and invalid pointer dereference belong to the same checker, that is called //NullDereference//?

I think both SA and Tidy auto-appends the checker's name into the emitted diagnostic. However, @baloghadamsoftware did implement multiple checkers in the same translation unit, so maybe he knows where to override this.

(I can tell you where to override it in the context of Tidy, and it's horribly tricky and ugly...)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84520



More information about the cfe-commits mailing list