[PATCH] D82845: [Analyzer][StreamChecker] Report every leak, clean up state.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 30 00:30:14 PDT 2020
balazske created this revision.
Herald added subscribers: cfe-commits, ASDenysPetrov, martong, Charusso, gamesh411, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun.
Herald added a reviewer: Szelethus.
Herald added a project: clang.
balazske added a comment.
balazske added reviewers: baloghadamsoftware, NoQ.
Herald added a subscriber: rnkovacs.
Why does this not work?
I get only warning for the first resource leak (in the test `f_leak_2`). How to fix this?
Report resource leaks with non-fatal error.
Report every resource leak.
Stream state is cleaned up at `checkDeadSymbols`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82845
Files:
clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
clang/test/Analysis/stream.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82845.274348.patch
Type: text/x-patch
Size: 4879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200630/56e32d64/attachment-0001.bin>
More information about the cfe-commits
mailing list