[PATCH] D14170: Fix false positive warning about memory leak for QApplication::postEvent

Evgeniy Dushistov via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 17:12:41 PST 2015


Dushistov updated this revision to Diff 39009.
Dushistov added a comment.

I added test case and move it to separate file, because of
1)it require additional option -analyzer-checker=cplusplus to trigger warning
2)Simple emulation of qt type system not work (not trigger any warning), so I add preprocessored file.


http://reviews.llvm.org/D14170

Files:
  lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  test/Analysis/qt_malloc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14170.39009.patch
Type: text/x-patch
Size: 1192838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151103/4627df73/attachment-0001.bin>


More information about the cfe-commits mailing list