[PATCH] D36024: [analyzer] Improved bug reporting in MagentaHandleChecker
Haowei Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 28 15:23:47 PDT 2017
haowei created this revision.
Herald added a subscriber: xazax.hun.
This commit improves the bug reporting of MagentaHandleChecker introduced in https://reviews.llvm.org/D35968 , https://reviews.llvm.org/D36022 and https://reviews.llvm.org/D36023.
After this commit, the allocation and release sites of the handle that causes a bug will be marked in the generated bug report. If the handle is declared as a local variable, the naming of the handle will also be marked in the generated bug report as well.
https://reviews.llvm.org/D36024
Files:
lib/StaticAnalyzer/Checkers/MagentaHandleChecker.cpp
test/Analysis/mxhandle.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36024.108721.patch
Type: text/x-patch
Size: 11340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170728/ad2a7497/attachment.bin>
More information about the cfe-commits
mailing list