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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to