[PATCH] D82845: [Analyzer][StreamChecker] Report every leak, clean up state.

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 10:20:04 PDT 2020


Szelethus added a comment.

In D82845#2123283 <https://reviews.llvm.org/D82845#2123283>, @baloghadamsoftware wrote:

> In D82845#2122984 <https://reviews.llvm.org/D82845#2122984>, @balazske wrote:
>
> > I checked it with simple debug print, the `LeakedSyms` will contain 2 items with different `StreamOpenNode`. So I think these should be independent problem reports for the bug reporter.
>
>
> I wonder whether you can report two bugs on the same error node.


I recall that i did something similar in UninitializedObjectChecker when the option NotesAsWarnings is true.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82845





More information about the cfe-commits mailing list