[PATCH] D105637: [clang][Analyzer] Add symbol uninterestingness to bug report.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 9 12:33:13 PDT 2021


NoQ added a comment.

In D105637#2867602 <https://reviews.llvm.org/D105637#2867602>, @NoQ wrote:

> You could define your own diagnostic consumer in the unittest and intercept all the notes.

(you can find an example of this in D94476 <https://reviews.llvm.org/D94476>) (I can't believe I haven't landed these patches yet)

In D105637#2867602 <https://reviews.llvm.org/D105637#2867602>, @NoQ wrote:

> But at this point i'd rather turn this into a LIT test by turning your checker mock into a `debug.ExprInspection` item

(dunno how reusable it'll be, maybe unittest is indeed the way to go)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105637



More information about the cfe-commits mailing list