]> granicus.if.org Git - clang/commit
[analyzer] MallocChecker: Prevent Integer Set Library false positives
authorCsaba Dabis <dabis.csaba98@gmail.com>
Thu, 18 Jul 2019 00:03:55 +0000 (00:03 +0000)
committerCsaba Dabis <dabis.csaba98@gmail.com>
Thu, 18 Jul 2019 00:03:55 +0000 (00:03 +0000)
commit796042ed8191a635ff2ee5cc93c9557d89f45f60
treeaf439017c32d2b7de26770c4a02d9093b390fa45
parent982f868518e35cef58b1c4e84448c46da20e7880
[analyzer] MallocChecker: Prevent Integer Set Library false positives

Summary:
Integer Set Library using retain-count based allocation which is not
modeled in MallocChecker.

Reviewed By: NoQ

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64680

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366391 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/retain-count-alloc.cpp [new file with mode: 0644]