[analyzer] RetainCountChecker: Add a suppression for OSSymbols.
authorArtem Dergachev <artem.dergachev@gmail.com>
Wed, 1 Apr 2020 15:15:00 +0000 (18:15 +0300)
committerArtem Dergachev <artem.dergachev@gmail.com>
Wed, 1 Apr 2020 15:16:44 +0000 (18:16 +0300)
commit3500cc8d891bb3825bb3275affe6db8b12f2f695
treee1c62b44dbc9d06eec9c5c28b6689e3ef3ae3f42
parentc87b5e7e22b2df92021ac5fcc69160901a5841a9
[analyzer] RetainCountChecker: Add a suppression for OSSymbols.

OSSymbol objects are particular XNU OSObjects that aren't really
reference-counted. Therefore you cannot do any harm by over- or
under-releasing them.
clang/lib/Analysis/RetainSummaryManager.cpp
clang/test/Analysis/osobject-retain-release.cpp