[PATCH] D18860: [analyzer] Fix the "Zombie symbols" issue.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 24 15:56:44 PDT 2018
NoQ added inline comments.
================
Comment at: test/Analysis/simple-stream-checks.c:96
+ fp = 0;
+} // expected-warning {{Opened file is never closed; potential resource leak}}
----------------
george.karpenkov wrote:
> Woo-hoo, were we losing this case before?
Yes, this is the whole point of the patch.
https://reviews.llvm.org/D18860
More information about the cfe-commits
mailing list