Suppress MIG checker false positives that occur when the programmer increments the reference count before calling a MIG destructor, and the MIG destructor literally boils down to decrementing the reference count.
Details
Details
- Reviewers
dcoughlin - Commits
- rZORG0f657f3c55e8: [analyzer] MIGChecker: Add support for os_ref_retain().
rZORGe02d86170938: [analyzer] MIGChecker: Add support for os_ref_retain().
rG0f657f3c55e8: [analyzer] MIGChecker: Add support for os_ref_retain().
rGe02d86170938: [analyzer] MIGChecker: Add support for os_ref_retain().
rG70b654fa9b83: [analyzer] MIGChecker: Add support for os_ref_retain().
rL360737: [analyzer] MIGChecker: Add support for os_ref_retain().
rC360737: [analyzer] MIGChecker: Add support for os_ref_retain().
Diff Detail
Diff Detail
Event Timeline
clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp | ||
---|---|---|
118–119 | This is probably a source of false negatives; i'll investigate it separately. |
This is probably a source of false negatives; i'll investigate it separately.