]> granicus.if.org Git - clang/commit
[analyzer] Perform escaping in RetainCountChecker on type mismatch even for inlined...
authorGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 21 Dec 2018 02:16:36 +0000 (02:16 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 21 Dec 2018 02:16:36 +0000 (02:16 +0000)
commit4e2a388a999e41a12743314deb9e0f060252a621
treec3e73dae6c63da000f99be3f585473fb5a512c5c
parentdcd44990a807cc0770633a5ae634d7f7ac45c8e9
[analyzer] Perform escaping in RetainCountChecker on type mismatch even for inlined functions

The fix done in D55465 did not previously apply when the function was inlined.

rdar://46889541

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349876 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
test/Analysis/osobject-retain-release.cpp